Catalyst::Controller::AllowDisable - DEPRECATED.
this module is DEPRECATED.
because equivalent mechanism is supported on Catalyst. http://lumberjaph.net/blog/index.php/2009/06/25/how-to-prevent-some-components-to-be-loaded-by-catalyst/
Package App::Web::Controller::Devel; use base qw/Catalyst::Controller::AllowDisable/; sub make_10000_users : Local { } 1;
myapp.yml
on_controller_disable:1
I sometime create controller only for developers which I do not want to ship it to production but I do not want to remove it also. So I create this controller module. You can disable controller which using this module using on_controller_disable=1 at config.
Tomohiro Teranishi, <tomohiro.teranishi at gmail.com>
<tomohiro.teranishi at gmail.com>
Copyright 2008 Tomohiro Teranishi, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Catalyst::Controller::AllowDisable, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catalyst::Controller::AllowDisable
CPAN shell
perl -MCPAN -e shell install Catalyst::Controller::AllowDisable
For more information on module installation, please visit the detailed CPAN module installation guide.