I am looking for a utility routine like the GNU cflow tha works for perl.
GNU cflow analyzes a collection of C source files and prints a graph, charting control flow within the program.
It print out the funcion calling sequence like:a
1 main() <int main (int argc,char **argv) at main.c:627>:
2 register_output() <int register_output (const char *name,int (*h
+andler)(cflow_output_command cmd,FILE *outfile,int line,void *data,vo
+id *handler_data),void *handler_data) at output.c:74>:
3 abort()
4 strdup()
5 handler()
6 gnu_output_handler() <int gnu_output_handler (cflow_output_comma
+nd cmd,FILE *outfile,int line,void *data,void *handler_data) at gnu.c
+:63>:
7 fprintf()
I am looking for a similar tool for PERL. Note this is not a profiler. The code is not executed. It is a static viw of the calling sequence.
Code tags added by GrandFather
2006-03-07 Retitled by g0n, as per Monastery guidelines
Original title: 'Looking a a utility'
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.