Processing XML with Perl | Michel Rodriguez |
Object-Oriented Perl | XML Generation Modules |
Modules
How to install a module
Go to CPAN (cpan.org), find your way around and grab the .tar.gz file.
gzip -d -c XML-Parser-2.27.tar.gz | tar -xvf - cd XML-Parser-2.27 perl Makefile.PL make make test su make install |
How to use a module
use XML::Parser; my $parser= new XML::Parser; $parser->parsefile( "myfile"); |
Extracting the documentation for a Module
perldoc XML::Parser pod2text Parser.pm > Parser.txt pod2html Parser.pm > Parser.html |
Object-Oriented Perl | XML Generation Modules |