Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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

Replies are listed 'Best First'.
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 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 => '', 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 => '', 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 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.




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?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2021-10-28 12:41 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (96 votes). Check out past polls.