There's more than one way to do things | |
PerlMonks |
Which subroutine or method was called?by QM (Parson) |
on Oct 09, 2012 at 12:00 UTC ( [id://997996]=perlquestion: print w/replies, xml ) | Need Help?? |
QM has asked for the wisdom of the Perl Monks concerning the following question:
I'm having a funny problem, and suspect that my uses are stepping on each other. How to determine which subroutine is actually getting called?
For instance:
This imports sleep over the builtin. How do I check that the sleep I call is the sleep I want? And while we're at it, how to do the same for a method -- that is, I can say: $object->method();, but where does that method live? -QM
Back to
Seekers of Perl Wisdom
|
|