Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 having an uproarious good time at the Monastery: (12)
As of 2016-06-30 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (396 votes). Check out past polls.