Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Splitting program into modules

by Anonymous Monk
on Nov 14, 2018 at 06:24 UTC ( #1225769=note: print w/replies, xml ) Need Help??


in reply to Re: Splitting program into modules
in thread Splitting program into modules

Is there a program that reads a Perl source code and prints out the names of all the subs declared in that file?

Devel::NYTProf generates an HTML report with sortable lists of subs that you can click to view the code with full timing information:

perl -d:NYTProf script.or.module.pl; nytprofhtml --open

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2019-09-19 22:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The room is dark, and your next move is ...












    Results (253 votes). Check out past polls.

    Notices?