If you mean the package/stash were it was originally defined in: Yes.
It's kept as special field inside the internal data.
There is a way to inspect this w/o dependencies using B
Otherwise there are various modules on CPAN doing that°.
°) see stash_name in
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: How to identify the package of a subroutine given only a reference to it (Sub::Identify)
by LanX
in thread How to identify the package of a subroutine given only a reference to it
by drclaw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |