No such thing as a small change | |
PerlMonks |
Re: Initializing a subroutine with the value of a variableby holli (Abbot) |
on Dec 17, 2009 at 15:10 UTC ( [id://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
|
|