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

Re: Generate UML from Perl code?

by bikeNomad (Priest)
on Aug 06, 2001 at 21:10 UTC ( [id://102510]=note: print w/replies, xml ) Need Help??


in reply to Generate UML from Perl code?

The code I posted at Graph your Perl inheritance structure will draw an inheritance diagram from an existing Perl program. You should be able to modify it to make UML diagrams pretty easily. But you won't be able to edit them graphically.

But you don't say what UML diagrams you're interested in (there are lots of different kinds). Some possibilities that I can think of for diagramming:

  • use the debugger hooks to build a sequence or collaboration diagram
  • analyze the @ISA structure for a class diagram like my example does
  • analyze your POE structures for a class diagram
  • analyze the 'use' and 'require' structures (you can use the debugger hooks here too) for a component diagram

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://102510]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-04-19 20:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found