NAME
Plack::App::Env - Plack PYX directory application.
SYNOPSIS
use Plack::App::Directory::PYX;
my $obj = Plack::App::Env->new(%parameters);
my $app = $obj->to_app;
METHODS
"new"
my $obj = Plack::App::Env->new(%parameters);
Constructor.
Returns instance of object.
"to_app"
my $app = $obj->to_app;
Creates Plack application.
Returns Plack::Component object.
EXAMPLE
use strict;
use warnings;
use File::Temp;
use IO::Barf;
use Plack::App::Env;
use Plack::Runner;
# Run application with one PYX file.
my $app = Plack::App::Env->new->to_app;
Plack::Runner->new->run($app);
# Output:
# TODO
DEPENDENCIES
English, Error::Pure, Plack::App::Directory, Plack::Util::Accessor,
PYX::SGML::Tags, Tags::Output::Raw, Unicode::UTF8,
REPOSITORY
AUTHOR
Michal Josef Špaček <mailto:skim@cpan.org>
LICENSE AND COPYRIGHT
© 2020 Michal Josef Špaček
BSD 2-Clause License
VERSION
0.01