develooper Front page | perl.perl5.porters | Postings from July 2008

Re: Find the line number of the current block from XS code?

Thread Previous | Thread Next
From:
Tim Bunce
Date:
July 16, 2008 15:00
Subject:
Re: Find the line number of the current block from XS code?
Message ID:
20080716220006.GA63942@timac.local
On Thu, May 03, 2007 at 12:56:44AM +0100, Tim Bunce wrote:
> I'm not very familar with this part of perl guts...
> 
> How can I find the line number of the start of the current block/scope?
> Or, more likely, the line number of the first statement in the block/scope?

I got there in the end: 

    http://blog.timbunce.org/2008/07/15/nytprof-v2-a-major-advance-in-perl-profilers/

Thanks!

Tim.

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About