|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: Initializing a subroutine with the value of a variableby holli (Monsignor) |
| on Dec 17, 2009 at 15:10 UTC ( #813193=note: print w/ replies, xml ) | Need Help?? |
|
However, this calls "foo" as a class method, so the sub gets the classname as the first argument. If you dont want that, use a dispatch table.
holli You can lead your users to water, but alas, you cannot drown them.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||