Dave Whipp dave-at-whipp.name |Perl 6| wrote:
$_. It will contain the whole list as one item, like what Perl 5 does with [EMAIL PROTECTED]Mark J. Reed wrote:So eseentially, given (@foo) means the same as Perl5 for ([EMAIL PROTECTED])Just wondering: should "given @foo {...}" alias to $_, or @_?
given @foo { when .length > 5 { say "That's a long list" } when .length == Inf { say "That's a very long list" } when .WHAT ~~ Range { say "That's an iterator" } }