Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Any UML tool for Perl?

by softdesigner (Novice)
on Mar 18, 2002 at 16:43 UTC ( #152511=perlquestion: print w/ replies, xml ) Need Help??
softdesigner has asked for the wisdom of the Perl Monks concerning the following question:

Hi, I am looking for a UML tool which would do reverse engineering on an existing OO Perl application and produces the class diagrams. Any pointers or suggestions are much appreciated. Thanks in advance ;) Dennis

Comment on Any UML tool for Perl?
Re: Any UML tool for Perl?
by perrin (Chancellor) on Mar 18, 2002 at 16:55 UTC
      Not only had I never heard of AutoDia, I had never heard of gnome's Dia - Thanks to both of you!

      It took only a little work to install the perl mods necessary, so I encourage anyone interested in visual representations of perl to give this a shot. I ran it against some projects I know well in addtion to some that I am working on - very helpful in both cases.

      Sometimes we just need to get another perspective ;-)

      Thanks guys!

Re: Any UML tool for Perl?
by tachyon (Chancellor) on Mar 18, 2002 at 17:26 UTC

    B::XRef will give you a basic structural outline. Data::Dumper will let you look into the objects. Devel::Symdump may also assist. A search of CPAN may prove worthwhile in the B:: and Devel:: catagories.

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

Re: Any UML tool for Perl?
by strat (Canon) on Mar 18, 2002 at 17:50 UTC
    I've just installed the Module Acme-EyeDrops from CPAN, but not yet tested it. One line from it's perldoc is:
    If your boss demands a UML diagram describing the program, you can + give him this: print sightly( { Shape => 'uml', SourceFile => 'helloworld.pl', Regex => 1 } ); If it is a Windows program, you can indicate that too, by combinin +g shapes: print sightly( { Shape => 'uml,window', Gap => 1, SourceFile => 'helloworld.pl', Regex => 1 } ); producing this improved visual representation: ''=~('('.'?'.'{'.('`'|'%').('['^'-').( ( ( ( ( ( ( ( ( ( ( '`'))))))))))|'!').('`'|',').'"'.('['^ ( ( ( ...

    Best regards,
    perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"

Re: Any UML tool for Perl?
by htoug (Deacon) on Mar 19, 2002 at 09:44 UTC
    A quick SuperSearch would have revealed to you that there is a Q&A section on exactly this <grumble mode="wonder">why don't people use supersearch some more</grumble>.

    Try SuperSearch with UML in both the body and the title for yourself and be amazed at what is hidden in the monastery vaults.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://152511]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2014-10-21 02:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (95 votes), past polls