Slash Boxes
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

use Perl Log In

Log In

[ Create a new account ]

boo_radley (2349)

  (email not shown publicly)

Journal of boo_radley (2349)

Tuesday January 29, 2002
10:18 AM

object oriented perl and UML

[ #2502 ]
I've been thinking a lot about OOP in perl; this may be due to some excellent Java training I've taken recently, or just as a side effect of some of the apocalypse entries.

Part of my explorations of the subject brought me to UML, and although it's more used in Java communities, I think it has a role to play when designing OO perl modules and systems. There's a nice GPL'd diagram creation program called Dia (now with win32 port)which I've grown quite fond of.

Of course, once I'd a nice sized UML diagram completed, I wanted to export it out to perl. You can do so for a variety of languages (ada?), but perl wasn't in the gameplan, it seems.

I grew wroth, and coded. Well, wroth probably isn't the right word, but the end result is a set of packages under the Dia namespace, chiefly Dia::UMLDiagram. The module provides a read-only interface into the layers of a Dia diagram which can be manipulated for output. Currently only class objects are supported; but this provides the functionality for generation of a skeletal module.

Your feedback is humbly requested, either through comments or email to
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.