Plack::Middleware::Refresh 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::Middleware::RefUser(Contributed Perl DocumPlack::Middleware::Refresh(3)

NAME
       Plack::Middleware::Refresh - Refresh all modules in %INC

SYNOPSIS
	 enable "Refresh", cooldown => 3;
	 $app;

DESCRIPTION
       This is yet another approach to refresh modules in %INC during the
       development cycle, without the need to have a forking process to watch
       for filesystem updates. This middleware, in a request time, compares
       the last refresh time and the current time and if the difference is
       bigger than cooldown seconds which defaults to 10, call Module::Refresh
       to reload all Perl modules in %INC if the files have been modified.

       Note that this only reloads modules and not other files such as
       templates.

       This middleware is quite similar to what Rack::Reoader does. If you
       have issues with this reloading technique, for instance when you have
       in-file templates that needs to be recompiled, or Moose classes that
       has "make_immutable", take a look at plackup's default -r option or
       Plack::Loader::Shotgun instead.

AUTHOR
       Tatsuhiko Miyagawa

SEE ALSO
       Module::Refresh Rack::Reloader

perl v5.14.2			  2011-02-27	 Plack::Middleware::Refresh(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