in reply to Re: How to pass a variable to function selected from a hash
in thread How to pass a variable to function selected from a hash
You can also do:
my ($input) = @_;
I use shift, myself though, when I'm sure there's but one argument.
Philosophy can be made out of anything. Or less -- Jerry A. Fodor
|
---|