NAME

Papery::Processor::Pod::POM - Papery processor based on Pod::POM

SYNOPSIS

# _config.yml
_processors:
  pod: Pod::POM

# metadata
_processor: Pod::POM

DESCRIPTION

Papery::Processor::Pod::POM will process the _text of a Papery::Pulp object as POD, and put HTML in the _content, using Pod::POM for parsing the POD, and by default Pod::POM::View::HTML to turn it into HTML.

METHODS

This class provides a single method:

process( $pulp )

Analyze the _text metadata, and update the $pulp metadata and _content.

If the pod_pom_view metadata key exists, it is assumed to contain the name of a Pod::POM::View class, that will be used instead to produce the _content metadata.

The intermediate Pod::POM object returned by the Pod::POM parser is stored in the _pod_pom metadata key.

AUTHOR

Philippe Bruhat (BooK), <book at cpan.org>

COPYRIGHT

Copyright 2010 Philippe Bruhat (BooK), all rights reserved.

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.