NAME

Egg::Plugin::Pod::HTML - pod2html for Egg.

SYNOPSIS

Contoller.

package MYPROJECT;
use strict;
use Egg qw/Pod::HTML/;

Configuration.

plugin_pod2html => {
  lib_path=> [qw{ /home/lib /home/perl-lib }],
  },

Dispatch.

__PACKAGE__->run_modes(

  pod => sub {
    my($dispat, $e)= @_;
    my $body= $e->pod2html( $e->snip(1) ) || return $e->finished( 404 );
    $e->response->body( $body );
    },

  );

Request url.

http://domain.name/pod/HTML::Mason

METHODS

pod2html ([MODULE_NAME], [ARGS])

The result of the return of 'pod2html' command is returned by the SCALAR reference.

my $html= $e->pod2html('CGI::Cookie');

pod2html_body ([MODULE_NAME], [ARGS])

The part of '<body> ... </body>' is returned from the result of pod2html.

my $body= $e->pod2html_body('CGI::Cookie');

SEE ALSO

Egg::Release,

AUTHOR

Masatoshi Mizuno <lushe@cpan.org>

COPYRIGHT

Copyright (C) 2007 by Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.