in reply to Re: Reference to an anon sub from within.
in thread Reference to an anon sub from within.

Ah ha! Looks like Devel::Caller is the solution. There really should be a perl interface to perl internals built into perl. XS is too scary for me.
  • Comment on Re^2: Reference to an anon sub from within.

Replies are listed 'Best First'.
Re^3: Reference to an anon sub from within.
by BrowserUk (Patriarch) on Mar 08, 2005 at 23:52 UTC

    The toughest part of XS is finding information. Much of it is there, but the lack of indexing makes it hard to find, and the lack of simple examples mean that even when you see what you need to know, you don't recognise as such when you start.

    Funnily enough, another interesting reference particularly applicable to your question turned up on the p5p list just a while ago.

    This news://nntp.perl.org/perl.perl5.porters/98762 doesn't work as a link here, but within that post there is a link to PerlAssembly which I haven't had chance to digest yet, but seems to offer some valuable insights into the internals.


    Examine what is said, not who speaks.
    Silence betokens consent.
    Love the truth but pardon error.