AnnoCPAN::PodParser - Parse a pod and load the paragraphs into the database
sub filter_pod { my ($self, $code, $podver) = @_; my $fh_in = IO::String->new($code); my $parser = AnnoCPAN::PodParser->new( ac_podver => $podver, ac_pos => 0, ac_verbose => $self->verbose, ); $parser->parse_from_filehandle($fh_in); }
This module is used by AnnoCPAN::Dist when loading a new distribution into the database. It is a subclass of Pod::Parser that overrides the verbatim, command, and textblock methods and uses them to insert the almost unparsed POD into the database tables.
verbatim
command
AnnoCPAN::DBI, AnnoCPAN::Update, AnnoCPAN::Dist, Pod::Parser
Ivan Tubert-Brohman <itub@cpan.org>
Copyright (c) 2005 Ivan Tubert-Brohman. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install AnnoCPAN, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AnnoCPAN
CPAN shell
perl -MCPAN -e shell install AnnoCPAN
For more information on module installation, please visit the detailed CPAN module installation guide.