Don't ask to ask, just ask | |
PerlMonks |
Re: passing subroutine args as a hash: why not?by msemtd (Scribe) |
on Jun 06, 2003 at 08:22 UTC ( [id://263619]=note: print w/replies, xml ) | Need Help?? |
I'm wondering why more people don't call subroutines with a single hash as the argument.
I guess more people don't do it because they don't usually have so many arguments to pass! In the world of Perl/Tk its pretty standard to pass a hash of args since there's so many that are optional, inherited, etc.
In Section
Seekers of Perl Wisdom
|
|