[EMAIL PROTECTED] writes: > Clarification of coercion declarations and semantics. > > +++ doc/trunk/design/syn/S13.pod Fri Feb 16 17:59:34 2007 > > + method postcircumfix:<( )> (|$capture) {...} > + method postcircumfix:<[ ]> (|$capture) {...} > + method postcircumfix:<{ }> (|$capture) {...} > > +Those are a bit unwieldy, so you may also use these short forms: > + > + method &.( |$capture ) {...} > + method @.[ *@@slices ] {...} > + method %.{ *@@slices } {...}
Did you mean for whats inside the brackets to differ between the long and short forms for arrays and hashes? Smylers