in reply to Re^4: Perl6 Contest #2: P6 That Doesn't Look Like P5
in thread Perl6 Contest #2: P6 That Doesn't Look Like P5
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Perl6 Contest #2: P6 That Doesn't Look Like P5
by tall_man (Parson) on Jun 08, 2005 at 18:17 UTC | |
by TimToady (Parson) on Jun 08, 2005 at 18:40 UTC |