go ahead... be a heretic | |
PerlMonks |
Re: typeglob reference deletes global lexicalby dragonchild (Archbishop) |
on Nov 07, 2008 at 22:13 UTC ( [id://722308]=note: print w/replies, xml ) | Need Help?? |
It looks like you're trying to get a subref for a method. Hence, the use of $proto->package_name. A much simpler solution is my $subref = $proto->can( $name );
My criteria for good software:
In Section
Seekers of Perl Wisdom
|
|