NAME
Dancer::Plugin::RunAsScript - Easily run your dancer application as a cgi script!
VERSION
version 0.01
SYNOPSIS
use Dancer;
use Dancer::Plugin::RunAsScript;
post '/' => sub {
...
};
dance;
Important Note! Remember that you may need to use relative paths in your templates when switching back/forth between embedded-server/script modes.
DESCRIPTION
Provides an easy way of running a dancer application as a cgi-script. This functionality may be useful for someone not wishing to serve their application using the default methods of deployment.
CONFIGURATION
There is no configuration needed for this functionality. Simple use the plugin when you wish to run your application as a cgi-script!
AUTHOR
Al Newkirk <awncorp@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2010 by awncorp.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.