Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2015-11-29 05:54 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (747 votes), past polls