[Pdx-pm] reverse engineer(?) perl modules
Wil Cooley
wcooley at nakedape.cc
Wed Oct 5 17:57:54 PDT 2005
On Tue, 2005-10-04 at 08:25 -0700, Roderick A. Anderson wrote:
> I just started a new job and I'm trying to get a handle on one of the
> _rather_ complex web based applications. Lots of modules that have
> grown and changed over the years and some of the old stuff wasn't well
> documented. Plus lots of new stuff added ( with better documentation.)
>
> So I'm wondering if there are any tools to diagram all the relations
> and/or calls that are made by looking at the modules and the cgi scripts
> that call them.
A lousy answer, because it's not exactly what you're looking for: One
technique is to look over the unit tests and if there aren't any, write
some.
What you're looking for is something like a class browser, which if you
were using a more pure OO language like SmallTalk, Python or Ruby you'd
find readily, but I don't know how well they'd work with Perl, since a
module may or may not be an class, and the constructor may or may not be
called ::new. That said, a quick search turns up this:
http://user.bahnhof.se/~johanl/perl/Oasis/
Wil
--
Wil Cooley wcooley at nakedape.cc
Naked Ape Consulting http://nakedape.cc
* * * * Linux, UNIX, Networking and Security Solutions * * * *
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.pm.org/pipermail/pdx-pm-list/attachments/20051006/d8b7f558/attachment.bin
More information about the Pdx-pm-list
mailing list