Revision 29626

Date:
2010/02/03 01:28:18
Author:
lwall
Revision Log:
[S13] *@@ ---> **@
Files:

Legend:

 
Added
 
Removed
 
Modified
  • docs/Perl6/Spec/S13-overloading.pod

     
    13 13
    14 14 Created: 2 Nov 2004
    15 15
    16 Last Modified: 27 Dec 2008
    17 Version: 12
    16 Last Modified: 2 Feb 2010
    17 Version: 13
    18 18
    19 19 =head1 Overview
    20 20
     
    160 160 routine, array, or hash. The long forms are as follows:
    161 161
    162 162 method postcircumfix:<( )> ($capture) {...}
    163 method postcircumfix:<[ ]> (*@@slice) {...}
    164 method postcircumfix:<{ }> (*@@slice) {...}
    163 method postcircumfix:<[ ]> (**@slice) {...}
    164 method postcircumfix:<{ }> (**@slice) {...}
    165 165
    166 166 Those are a bit unwieldy, so you may also use these short forms:
    167 167
    168 168 method &.( $capture ) {...}
    169 method @.[ *@@slice ] {...}
    170 method %.{ *@@slice } {...}
    169 method @.[ **@slice ] {...}
    170 method %.{ **@slice } {...}
    171 171
    172 172 The sigil-dot sequence in these short forms autogenerates the
    173 173 corresponding public operators, in exactly the same way that