in reply to Re^2: How to identify the package of a subroutine given only a reference to it
in thread How to identify the package of a subroutine given only a reference to it
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to identify the package of a subroutine given only a reference to it
by drclaw (Acolyte) on Feb 02, 2022 at 00:51 UTC | |
by LanX (Saint) on Feb 02, 2022 at 01:00 UTC | |
by drclaw (Acolyte) on Feb 02, 2022 at 22:56 UTC | |
by hv (Prior) on Feb 14, 2022 at 16:48 UTC | |
by drclaw (Acolyte) on Feb 19, 2022 at 04:37 UTC | |
| |
by LanX (Saint) on Feb 02, 2022 at 23:04 UTC |