But I never use the hashref method to pass in parameters. It's ugly, pointless and just adds punctuation without any gain.
I also like to use local %_ = @_ to put the named parameters in a hash.
Abigail
In reply to Re: What's your favorite method of passing parameters into a sub?
by Abigail-II
in thread What's your favorite method of passing parameters into a sub?
by jk2addict
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |