Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Using $variable in place of "Method" in Module::Submodule::Method( @args )by Joost (Canon) |
on Aug 23, 2006 at 19:25 UTC ( [id://569182]=note: print w/replies, xml ) | Need Help?? |
PackageName::subname() is not how you call a method. That's how you call a normal subroutine in package PackageName.
Anyway...
The last construct is probably what you need.
In Section
Seekers of Perl Wisdom
|
|