Query: autodia::handler::perl
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Autodia::Handler::Perl(3pm) User Contributed Perl Documentation Autodia::Handler::Perl(3pm)NAMEAutodia::Handler::Perl.pm - AutoDia handler for perlDESCRIPTIONHandlerPerl parses files into a Diagram Object, which all handlers use. The role of the handler is to parse through the file extracting information such as Class names, attributes, methods and properties. HandlerPerl parses files using simple perl rules. A possible alternative would be to write HandlerCPerl to handle C style perl or HandleHairyPerl to handle hairy perl. HandlerPerl is registered in the Autodia.pm module, which contains a hash of language names and the name of their respective language - in this case: %language_handlers = { .. , perl => "perlHandler", .. };METHODSCONSTRUCTION METHOD use Autodia::Handler::Perl; my $handler = Autodia::Handler::Perl->New(\%Config); This creates a new handler using the Configuration hash to provide rules selected at the command line. ACCESSOR METHODS $handler->Parse(filename); # where filename includes full or relative path. This parses the named file and returns 1 if successful or 0 if the file could not be opened. $handler->output(); # any arguments are ignored. This outputs the Dia XML file according to the rules in the %Config hash passed at initialisation of the object.SEE ALSOAutodia::Handler Autodia::DiagramAUTHORAaron Trevena, <aaron.trevena@gmail.com>COPYRIGHT AND LICENSECopyright (C) 2001-2007 by Aaron Trevena This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.1 or, at your option, any later version of Perl 5 you may have available. perl v5.12.4 2010-09-20 Autodia::Handler::Perl(3pm)
Similar Topics in the Unix Linux Community |
---|
Perl: sorting files by whats in'em |
how to write a sub in Perl |
Perl Signal Handler |
perl -V Can't locate Config.pm in @INC |
Perl 2 files compares |