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
In reply to Re: Re: How to pass a variable to function selected from a hash
by arturo
in thread How to pass a variable to function selected from a hash
by cat2014
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |