in reply to Programs/Methods for analyzing an existing Perl based system
Here's a quick example to get you started. First, run the code under a profiler:
$ perl -MDevel::Profiler -e 'sub foo { bar(); } sub bar { 1 }; print f +oo();' 1
Then use the appropriate tool to generate a call-tree. In this case, dprofpp:
$ dprofpp -T main::foo main::bar
-sam
|
|---|