>From: [email protected]
>To: [email protected]
>Subject: anyone experienced with UML::Sequence (or similar) ?
>Date: Sat, 4 Aug 2012 16:52:49 -0400
>




>Does anyone here have experience using the module UML::Sequence?>I am trying 
>to make a calling sequence diagram for a module without having to resort to 
>manually drawing boxes and arrows.>I found this old-ish article 
>(http://www.perl.com/pub/2006/08/03/sequence-diagrams.html) via Google but 
>after installing the module and copy/pasting >genericseq.pl I cannot get even 
>the example "Die roller" example to work. I keep getting this error>    Use of 
>uninitialized value $class in substitution (s///) at 
>/opt/local/lib/perl5/site_perl/5.12.4/UML/Sequence/PerlSeq.pm line 107.>I get 
>that error no matter if I use the canned example or my own code.>If anyone has 
>gotten this to work perhaps you have some advice?>Alternatively, perhaps you 
>have a favorite UML Sequence diagram generating tool for Perl that you would 
>like to recommend?>Thanks!>AdamI probably have spent several hours on this so 
>far. There are dozens of contributed scripts and modules that claim to do this 
>but most are                           
                  quite fragile (i.e. don't work beyond simple examples) and/or 
require more effort than this problem is worth.I eventually stumbled on this 
script which more or less does exactly what I want and works right off the 
bat.http://gw55.quarry.iu.teragrid.org/mediawiki/images/3/39/Calltree-perl_pl 
(as linked to from 
http://gw55.quarry.iu.teragrid.org/mediawiki/index.php?title=Perl_Static_Source_Code_Analysis)sample
 image: 
http://gw55.quarry.iu.teragrid.org/mediawiki/images/8/8f/Calltree-perl_pl_calltree.pngI'd
 recommend checking it out if you want to do something similar.                 
                    

_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to