|Don't ask to ask, just ask|
Which subroutine or method was called?by QM (Parson)
|on Oct 09, 2012 at 12:00 UTC||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?
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?