Mark J. Reed wrote:
The topic should always be $_ unless explicitly requested differently via the arrow.Now in the case of for, it might be nice if @_ bound to the entire collection being iterated over (if any)...
As a perl5-ism:
sub foo { say @_; }
...
given (@bar) {
when ... { &foo }
}
Does perl6 still have some implicit mechanism to say "call sub using
current arglist"?
(No, I'm not arguing to support any of this: just asking the questions)
