Couldn't you place named paramteres after the uhhh....splatted?... parameter?
Actualy a quick test shows that doesn't work. I think however it would be usefull to have a set of positional paramters (like your slurpy array) and then follow them with parameters that are meant to be set by named pairs. Then sub oob(*@lst,?$x = $CALLER::_) { would DWIM
In reply to Re^5: Perl6 Contest #2: P6 That Doesn't Look Like P5
by eric256
in thread Perl6 Contest #2: P6 That Doesn't Look Like P5
by Limbic~Region
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |