NAME
App::Pod::Example - Base class for pod-example script.
SYNOPSIS
use App::Pod::Example;
my $app = App::Pod::Example->new;
$app->run;
METHODS
new
my $app = App::Pod::Example->new;
Constructor.
Returns instance of object.
run
$app->run;
Run method.
Returns undef.
ERRORS
new():
Cannot process any action.
From Class::Utils::set_params():
Unknown parameter '%s'.
EXAMPLE
use strict;
use warnings;
use App::Pod::Example;
# Arguments.
@ARGV = (
'-e',
'-p',
'App::Pod::Example',
);
# Run.
App::Pod::Example->new->run;
# Output:
# -- this code with enumerated lines --
CAVEATS
Examples with die() cannot process, because returns bad results.
DEPENDENCIES
Class::Utils, English, Error::Pure, File::Temp, Getopt::Std, IO::Barf, Pod::Example, Readonly.
REPOSITORY
https://github.com/michal-josef-spacek/App-Pod-Example
AUTHOR
Michal Josef Špaček mailto:skim@cpan.org
LICENSE AND COPYRIGHT
© 2011-2024 Michal Josef Špaček
BSD 2-Clause License
VERSION
0.22