Hello all,
   
  I was trying to generate UML class and object diagrams for my code-base. I 
came across this module UML::Class::Simple and wrote this small code:-
   
   use UML::Class::Simple;
  @classes = classes_from_files(['Sheet.pm']);
      $painter = UML::Class::Simple->new([EMAIL PROTECTED]);
    $painter->as_png('c:\ppi.png');
   
  print "@classes";
   
  It gave me this error:-
  Can't locate object method "new" via package "Template" (perhaps you forgot 
to load "Template"?) at C:/Perl/site/lib/UML/Class/Simple.pm line 23.
Compilation failed in require at b.pl line 1.
BEGIN failed--compilation aborted at b.pl line 1.
   
  when i did "ppm i Template" the system shows me that this module is already 
installed.
   
  1. There were many modules that got were reported when i did "perl 
Makefile.pl" and I went on installing each module separately. Is there a way 
that all the dependenct-modules get installed automatically??
  2. Why is perl compaining in this manner?
  3. Are there any more modules which could generate UML class-object diagrams?
   
  I really am stuck; any pointers would be much appreciated.
   
  best,
  Raghu,
  ICICI, Team-Lead

       
---------------------------------
Ready for the edge of your seat? Check out tonight's top picks on Yahoo! TV. 
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to