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.

Replies are listed 'Best First'.
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 drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2016-08-27 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (379 votes). Check out past polls.