If you want to go that way you can also choose to bless the code ref directly.
Objects don't need to be hashes in Perl.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re^3: How to identify the package of a subroutine given only a reference to it
by LanX
in thread How to identify the package of a subroutine given only a reference to it
by drclaw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |