Rob Hoelz

NAME

CPAN::Mini::Webserver::PSGI - Use CPAN::Mini::Webserver as a PSGI application

VERSION

version 0.01

SYNOPSIS

  # in your app.psgi file
  use strict;
  use warnings;
  use CPAN::Mini::Webserver::PSGI;

  CPAN::Mini::Webserver::PSGI->new->to_app;
  # or CPAN::Mini::Webserver::PSGI->to_app as a shortcut

DESCRIPTION

CPAN::Mini::Webserver::PSGI is a simple extension of CPAN::Mini::Webserver that allows you to use CPAN::Mini::Webserver's functionality in a PSGI application.

CPAN::Mini::PSGIApp might be a better name for this module, but I wanted to reflect its relationship to CPAN::Mini::Webserver.

METHODS

This is a subclass of <CPAN::Mini::Webserver>, so it inherits all of its methods.

to_app

Returns the PSGI application for this CPAN::Mini::Webserver::PSGI instance.

SEE ALSO

CPAN::Mini::Webserver, PSGI

AUTHOR

Rob Hoelz <rob@hoelz.ro>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Rob Hoelz.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.