http://www.perlmonks.org?node_id=1045627


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.