How can I generate call graphs for Perl modules and scripts?
I have a bunch of Perl scripts and Perl modules given to me by someone. I have a driver program that tests all these scripts and modules. I want to generate a call graph and see the flow. Is there something available for Perl for doing this? I'd like something like pycallgraph (for python). I am running all this in AIX. Simon Cozens tells you how to do it in Profiling Perl on Perl.com . He uses a combination of Devel::DProf and GraphViz . 来源: https://stackoverflow.com/questions/1270477/how-can-i-generate-call-graphs-for-perl-modules-and-scripts