Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Splitting program into modules

by Anonymous Monk
on Nov 14, 2018 at 06:24 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1225769]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2024-03-28 13:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found