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 ( #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 imbibing at the Monastery: (12)
As of 2018-12-17 12:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many stories does it take before you've heard them all?







    Results (72 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!