Text::WikiFormat::SAX - a SAX parser for Wiki text
use Text::WikiFormat::SAX; use XML::SAX::Writer; my $output = ''; my $parser = Text::WikiFormat::SAX->new( Handler => XML::SAX::Writer->new( Output => \$output ) ); $parser->parse_string($wiki_text); print $output;
This module implements a SAX parser for WikiWiki text. The code is based on Text::WikiFormat, and so only supports the formatting that module supports.
To install Text::WikiFormat::SAX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::WikiFormat::SAX
CPAN shell
perl -MCPAN -e shell install Text::WikiFormat::SAX
For more information on module installation, please visit the detailed CPAN module installation guide.