Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Get first caller and its arguments

by DrHyde (Prior)
on Sep 13, 2011 at 10:14 UTC ( #925666=note: print w/ replies, xml ) Need Help??


in reply to Get first caller and its arguments

You may find the source for Devel::StackTrace instructive.

$ perl -MDevel::StackTrace -e ' hlagh("bar"); sub hlagh { quork("baz") } sub quork { print Devel::StackTrace->new()->as_string() } ' Trace begun at -e line 1 main::quork('baz') called at -e line 1 main::hlagh('bar') called at -e line 1


Comment on Re: Get first caller and its arguments
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://925666]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2014-09-15 05:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (145 votes), past polls