in reply to convoluted question regarding visualization of perl code
There was a talk by Leon Brocard about graphing perl program structure. Bsaically he used Devel::DProf in combination with the GraphViz module to produce pretty subroutine call graphs. He used Devel::SmallProf to produce line-level graphs. I don't know if he ever released the software, but knowing a solution exists with the aforementioned modules should be a good start.
In Section Seekers of Perl Wisdom