Your post is correct, but there's no reason you can't 'sprinkle in' positional parameters with a plain hash either. Consider:
sub sprinkled_in { my $sprinkle1 = shift; my $sprinkle2 = shift; my %unsprinkled = @_; }
In reply to Re: Re: passing subroutine args as a hash: why not?
by revdiablo
in thread passing subroutine args as a hash: why not?
by Willard B. Trophy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |