The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Toader::Render::Entry::backends::pod - This handles the POD backend stuff for Toader::Render::Entry.

VERSION

Version 0.1.0

SYNOPSIS

    use Toader::Render::Entry::backends::pod;
    
    my $renderer=Toader::Render::Entry::backends::pod->new({ toader=>$toader, obj=>$entryObj });
    my $rendered;
    if ( $renderer->error ){
        warn( 'Error:'.$renderer->error.': '.$renderer->errorString );
    }else{
        $rendered=$renderer->render($torender);
    }

METHODS

new

This initiates the object.

args hash ref

obj

This is the Toader::Entry object to render.

toader

This is the Toader object to use.

        my $foo=Toader::Render::Entry::backends::pod->new(\%args);
    if($foo->error){
        warn('error: '.$foo->error.":".$foo->errorString);
    }

render

This renders the object.

One argument is taken and that is what is to be rendered.

ERROR CODES

1, noObj

No Toader::Entry object specified.

2, noToaderObj

No Toader object specified.

3, objPerror

The Toader::Entry object has a permanent error set.

4, toaderPerror

The Toader object has a permanent error set.

5, noDirSet

The Toader::Entry object does not have a directory set.

6, nothingToRender

Nothing specified to render.

7, tempOpenFailed

Failed to open a temp file.

8, tempUnlinkFailed

Failed to unlink the the temporary file.

9. htmlRenderFailed

Failed to render the HTML.

AUTHOR

Zane C. Bowers-Hadley, <vvelox at vvelox.net>

BUGS

Please report any bugs or feature requests to bug-toader at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Toader. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Toader::Render::Entry::backends::pod

You can also look for information at:

ACKNOWLEDGEMENTS

LICENSE AND COPYRIGHT

Copyright 2013. Zane C. Bowers-Hadley.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.