On Thu, Jan 21, 2016 at 01:39:15PM -0600, Aaron Baugher wrote: > Tom Browder <tom.brow...@gmail.com> writes: > > > Thanks, Aaron, good explanation. But can you find a description of > > '<->' in the Perl 6 docs? > > It's mentioned here: https://doc.perl6.org/language/control#for > > And here, where it's called the "double-ended arrow", though I don't know how > official that name is: https://design.perl6.org/S04.html#The_for_statement > > I don't know if it's actually an operator, which may be why it's hard to find.
'<->' isn't an operator, it's one of the tokens that introduces a pointy block term. It's the "default to rw" form of '->' for declaring a block with parameters. Pm