NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
Interesting... (Score:1)
In the Overview, there is (well, was) a Signature Survey [cpan.org] of the file, i.e. a char for each type of "thing" in the file (pod blocks, subs, statements, string literals, etc). Like this:
I got the idea in an interesting article about Software Archeology [pragprog.com].
I had hoped it would give me a kind of ambient feel of the structure
Something simpler (Score:1)
Swoosh, swoosh (Score:1)
More cool than useful perhaps, but definitely very cool
Here's a kinda-sorta solution (Score:2)
Many years ago I was having trouble remembering how my code interacted with itself, so wrote this [cantrell.org.uk]. It produces a text report of what subroutines call what subroutines, and what subroutines are called by what subroutines.
The code is hideous, and I wouldn't dream of writing it that way now, but on the other hand it does mostly work, and might make a good starting point. If anyone wants to have a go at improving it, be my guest.