NAME

Plack::Middleware::Class::Refresh - Refresh your app classes with Class::Refresh before requests

VERSION

version 0.01

SYNOPSIS

use Plack::Builder;
builder {
    enable 'Class::Refresh', verbose => 1;
    ...
}

DESCRIPTION

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.

You can set the verbose option when debugging to make it give a warning whenever it refreshes any classes.

BUGS

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.

SEE ALSO

Please see those modules/websites for more information related to this module.

SUPPORT

You can find this documentation for this module with the perldoc command.

perldoc Plack::Middleware::Class::Refresh

You can also look for information at:

AUTHOR

Jesse Luehrs <doy at tozt dot net>

COPYRIGHT AND LICENSE

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.