Plack::Middleware::Class::Refresh - Refresh your app classes with Class::Refresh before requests
version 0.01
use Plack::Builder; builder { enable 'Class::Refresh', verbose => 1; ... }
This middleware simply calls Class::Refresh->refresh before each request, to ensure that the most recent versions of all of your classes are loaded. This is a faster alternative to Plack::Loader::Restarter, although be sure you read the caveats in Class::Refresh, as this module will likely be less reliable in some cases.
Class::Refresh->refresh
You can set the verbose option when debugging to make it give a warning whenever it refreshes any classes.
verbose
No known bugs.
Please report any bugs through RT: email bug-plack-middleware-class-refresh at rt.cpan.org, or browse to http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Plack-Middleware-Class-Refresh.
bug-plack-middleware-class-refresh at rt.cpan.org
Please see those modules/websites for more information related to this module.
Class::Refresh
Plack
You can find this documentation for this module with the perldoc command.
perldoc Plack::Middleware::Class::Refresh
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Plack-Middleware-Class-Refresh
CPAN Ratings
http://cpanratings.perl.org/d/Plack-Middleware-Class-Refresh
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Plack-Middleware-Class-Refresh
Search CPAN
http://search.cpan.org/dist/Plack-Middleware-Class-Refresh
Jesse Luehrs <doy at tozt dot net>
This software is copyright (c) 2011 by Jesse Luehrs.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Plack::Middleware::Class::Refresh, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Middleware::Class::Refresh
CPAN shell
perl -MCPAN -e shell install Plack::Middleware::Class::Refresh
For more information on module installation, please visit the detailed CPAN module installation guide.