| MojoMojo documentation | Contained in the MojoMojo distribution. |
MojoMojo::Formatter::File::Pod - format Pod File in xhtml
Can format Pod File
takes Pod text and renders it as XHTML.
Daniel Brosseau <dab@catapulse.org>
This module is licensed under the same terms as Perl itself.
| MojoMojo documentation | Contained in the MojoMojo distribution. |
package MojoMojo::Formatter::File::Pod; use parent qw/MojoMojo::Formatter/; use MojoMojo::Formatter::Pod;
sub can_format { my $self = shift; my $type = shift; return 1 if ( $type eq "pod" ); return 0; }
sub to_xhtml { my ( $self, $text ) = @_; my $result; return MojoMojo::Formatter::Pod->to_pod( $text ); }
1;