Plack::Loader::Shotgun man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Plack::Loader::ShotgunUser Contributed Perl DocumentaPlack::Loader::Shotgun(3)

NAME
       Plack::Loader::Shotgun - forking implementation of plackup

SYNOPSIS
	 plackup -L Shotgun

DESCRIPTION
       Shotgun loader delays the compilation and execution of your application
       until the runtime. When a new request comes in, this forks a new child,
       compiles your code and runs the application.

       This should be an ultimate alternative solution when reloading with
       Plack::Middleware::Refresh doesn't work, or plackup's default "-r"
       filesystem watcher causes problems. I can imagine this is useful for
       applications which expects their application is only evaluated once
       (like in-file templates) or on operating systems with broken fork
       implementation, etc.

       This is much like good old CGI's fork and run but you don't need a web
       server, and there's a benefit of preloading modules that are not likely
       to change. For instance if you develop a web application using Moose
       and DBIx::Class,

	 plackup -MMoose -MDBIx::Class -L Shotgun yourapp.psgi

       would preload those modules and only re-evaluates your code in every
       request.

AUTHOR
       Tatsuhiko Miyagawa with an inspiration from
       <http://github.com/rtomayko/shotgun>

SEE ALSO
       plackup

perl v5.14.2			  2011-06-22	     Plack::Loader::Shotgun(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net