Pod::Stream::Parser - A simple stream based POD parser
use v6; require Pod::Stream::Parser; parse("path/to/file.pod", %event_handlers);
This is a very simple stream based POD parser, it is modeled after SAX style parsers and is currently still in the very early stages of development.
Functionality is severaly limited right now. See the tests for more details.
The main parse function currently takes a $filename and a Hash of %event_handlers which it uses to process each line of the file.
parse
$filename
%event_handlers
Any of the Perl5 POD parsers
stevan little, <stevan@iinteractive.com>
Copyright (c) 2005. Stevan Little. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install Perl6::Pugs, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Perl6::Pugs
CPAN shell
perl -MCPAN -e shell install Perl6::Pugs
For more information on module installation, please visit the detailed CPAN module installation guide.