Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

UML to Perl

by biswanath_c (Beadle)
on Jun 15, 2011 at 07:25 UTC ( [id://909735]=perlquestion: print w/replies, xml ) Need Help??

biswanath_c has asked for the wisdom of the Perl Monks concerning the following question:


Hi

I am looking for a freeware that I can use to create UML diagrams and the tool should generate Perl code for me automatically from the UML diagrams. Can any of you point me to the best tools can get this job done?

Thanks

Replies are listed 'Best First'.
Re: UML to Perl
by Anonymous Monk on Jun 15, 2011 at 09:13 UTC

      Thanks for the response. I checked these out but looks like Umbrello is just a diagram editor and would not generate code from UML; same with dia and autodia; dia2code generates code all right but it generates code in multiple languages - all except Perl !! :( Any suggesstions?

Re: UML to Perl
by Anonymous Monk on Jun 15, 2011 at 08:59 UTC
      I doubt that a 10-year-old node will give much info for the OP ... unfortunately I don't have any other information. But I'm hoping other monks have ;-)
        I doubt that a 10-year-old node will give much info for the OP ...

        Why not? Software doesn't die :) Both Dia, Autodia, Dia2code, are still around

Re: UML to Perl
by Anonymous Monk on Jun 17, 2011 at 01:22 UTC

    Use yEd/Umbrello/Dia/UML Pad... to draw a diagram, then use

    ummf -e perl -o gen test/test1.xmi

    To generate Perl code in directory gen from test/test1.xmi.

      Actually, you'll want to try ArgoUML with ummf

        that was a helpful tip. thanks! Just have one more question on this tip - i downloaded that module UMMF from CPAN - i did not find any executable named ummf in that download. The syntax for using that driver is shown like running an exe named ummf with a parameter -e. Should I build that executable using make or something? Pls help.


Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-19 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found