Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 meditating upon the Monastery: (22)
As of 2015-07-01 15:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (6 votes), past polls