Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Passing arguments to a function reference

by DrHyde (Prior)
on Jul 22, 2013 at 11:01 UTC ( #1045627=note: print w/ replies, xml ) Need Help??


in reply to Re: Passing arguments to a function reference
in thread Passing arguments to a function reference

caller() is indeed the correct solution, but I prefer to use Devel::StackTrace, which is a nice wrapper around it. caller() has a hideous interface, Devel::StackTrace has quite a nice one.


Comment on Re^2: Passing arguments to a function reference
Download Code
Re^3: Passing arguments to a function reference
by MiniMizer (Initiate) on Jul 22, 2013 at 14:49 UTC
    Thanks for all the help guys, I'll look into caller.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2014-08-29 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (289 votes), past polls