Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
What package is the method in?by Sixtease (Friar) |
on May 14, 2010 at 13:50 UTC ( [id://839996]=perlquestion: print w/replies, xml ) | Need Help?? |
Sixtease has asked for the wisdom of the Perl Monks concerning the following question: Friends, how do I check the package from which a (possibly inherited) method will be called? Like if I see $foo->do_stuff(), I'd like to know which package the do_stuff method is located in. Thanks in advance!
use strict; use warnings; print "Just Another Perl Hacker\n";
Back to
Seekers of Perl Wisdom
|
|