Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How to get line ranges of subroutines from Perl source code

by LanX (Saint)
on Apr 16, 2014 at 06:34 UTC ( [id://1082431]=note: print w/replies, xml ) Need Help??


in reply to How to get line ranges of subroutines from Perl source code

The only way I'm aware of is scanning for curlies in the source around the known limits.

You will need to ignore comments-lines and POD in between.

Cheers Rolf

( addicted to the Perl Programming Language)

  • Comment on Re: How to get line ranges of subroutines from Perl source code

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1082431]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-26 00:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found