in reply to Distinguish method/function call during debugger?

I'm able to trap method calls and function calls but I don't know how to distinguish between the two. Can any of you help?

See called_as_method in Devel::Caller.

Replies are listed 'Best First'.
Re^2: Distinguish method/function call during debugger?
by diotalevi (Canon) on Feb 24, 2006 at 19:22 UTC

    Thanks! It turns out that Devel::Caller doesn't work for perl-5.8.4+ but it's the right idea.

    ⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊

      Thanks

      Y'welcome

      It turns out that Devel::Caller doesn't work for perl-5.8.4+

      Ah. Bugger :-/