With UNIVERSAL::can you can obtain a code ref to the module, and Sub::Identify tells you where it's from:
use Sub::Identify qw(stash_name); print stash_name($obj->can('method_name'));
Note that this might not be reliable, because sub names can be changed with Sub::Name.
In reply to Re: What package is the method in?
by moritz
in thread What package is the method in?
by Sixtease
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |