=head1 NAME OODoc::Format::Pod2 - Produce POD pages from the doc tree with a template =head1 INHERITANCE OODoc::Format::Pod2 is a OODoc::Format::Pod is a OODoc::Format is a OODoc::Object OODoc::Format::Pod2 is a OODoc::Format::TemplateMagic =head1 SYNOPSIS my $doc = OODoc->new(...); $doc->create ( 'pod2' # or 'OODoc::Format::Pod2' , format_options => [show_examples => 'NO'] ); =head1 DESCRIPTION Create manual pages in the POD syntax, using the Template::Magic template system. It may be a bit simpler to configure the outcome using the template, than using L, however you first need to install L. =head1 OVERLOADED =head1 METHODS $obj-EB(ZONE|STRING) =over 4 See L =back =head2 Constructors OODoc::Format::Pod2-EB(OPTIONS) =over 4 See L =back =head2 Inheritance knowledge $obj-EB([OBJECT]) =over 4 See L =back =head2 Attributes $obj-EB =over 4 See L =back $obj-EB =over 4 See L =back $obj-EB =over 4 See L =back $obj-EB =over 4 See L =back =head2 Page generation $obj-EB(MANUAL, STRING) =over 4 See L =back $obj-EB(IN, OUT) =over 4 See L =back $obj-EB(OPTIONS) =over 4 Option --Defined in --Default append OODoc::Format::Pod '' format_options OODoc::Format [] manual OODoc::Format project OODoc::Format template . append => STRING|CODE . format_options => ARRAY . manual => MANUAL . project => STRING . template => FILENAME =over 4 The default template is included in the DATA segment of L. You may start your own template by copying it to a file. =back =back $obj-EB(OPTIONS) =over 4 See L =back $obj-EB(OPTIONS) =over 4 See L =back $obj-EB(MANUAL, OBJECT, [TEXT]) =over 4 See L =back $obj-EB(STRING) =over 4 See L =back $obj-EB(OPTIONS) =over 4 See L =back $obj-EB(FILE, CHAPTER, INDENT) =over 4 See L =back $obj-EB(OPTIONS) =over 4 See L =back $obj-EB(OPTIONS) =over 4 See L =back $obj-EB(OPTIONS) =over 4 See L =back $obj-EB(OPTIONS) =over 4 See L =back $obj-EB(NAME, OPTIONS) =over 4 See L =back $obj-EB(OPTIONS) =over 4 See L =back $obj-EB(NAME, OPTIONS) =over 4 See L =back $obj-EB(OPTIONS) =over 4 See L =back $obj-EB(OPTIONS) =over 4 See L =back $obj-EB((@)) =over 4 See L =back $obj-EB(OPTIONS) =over 4 See L =back $obj-EB(OPTIONS) =over 4 See L =back $obj-EB(OPTIONS) =over 4 See L =back $obj-EB(OPTIONS) =over 4 See L =back $obj-EB =over 4 See L =back =head2 Template processing $obj-EB =over 4 =back =head2 Commonly used functions $obj-EB(FILENAME) OODoc::Format::Pod2-EB(FILENAME) =over 4 See L =back $obj-EB(DIRECTORY) OODoc::Format::Pod2-EB(DIRECTORY) =over 4 See L =back =head2 Manual Repository $obj-EB(MANUAL) =over 4 See L =back $obj-EB(NAME) =over 4 See L =back $obj-EB(NAME) =over 4 See L =back $obj-EB =over 4 See L =back $obj-EB(NAME) =over 4 See L =back $obj-EB =over 4 See L =back =head1 DETAILS =head1 DIAGNOSTICS Error: cannot read prelimary pod from $infn: $! =over 4 =back Error: cannot write final pod to $outfn: $! =over 4 =back Error: chapter without name in template. =over 4 In your template file, a {chapter} statement is used, which is erroneous, because it requires a chapter name. =back Error: formatter does not know the version. =over 4 =back Error: formatter has no project name. =over 4 A formatter was created without a name specified for the project at hand. This should be passed with L. =back Error: manual definition requires manual object =over 4 A call to L expects a new manual object (a L), however an incompatible thing was passed. Usually, intended was a call to L or L. =back Warning: missing required chapter $name in $manual =over 4 =back Error: no directory to put pod manual for $name in =over 4 =back Warning: no meaning for container $container in chapter block =over 4 =back Error: no package name for pod production =over 4 =back Error: no working directory specified. =over 4 The formatter has to know where the output can be written. This directory must be provided via L, but was not specified. =back Warning: unknown subroutine type $type for $name in $manual =over 4 =back =head1 SEE ALSO This module is part of OODoc distribution version 1.03, built on March 14, 2008. Website: F =head1 LICENSE Copyrights 2003-2008 by Mark Overmeer. For other contributors see ChangeLog. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See F