Plack::App::DataSectionPsgi application for serving contents in data section | |
Download |
Plack::App::DataSection Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Masayuki Matsuki
- Publisher web site:
- http://search.cpan.org/~songmu/
Plack::App::DataSection Tags
Plack::App::DataSection Description
Plack::App::DataSection is a PSGI application for serving contents in data section.Inherit this module and you can easly create psgi application for serving contents in data section.You can even serve binary contents!SYNOPSIS # create your module from directory. % dir2data_section.pl --dir=dir/ --module=Your::Module # generated module is like this. package Your::Module; use parent qw/Plack::App::DataSection/; __DATA__ @@ index.html < html > ... # app.psgi use Your::Module; Your::Module->new->to_app; # you can get contents in data section % curl http://localhost:5000/index.thmlProduct's homepage
Plack::App::DataSection Related Software