小松 大輔(Daisuke Komatsu) > Catalyst-Controller-AllowDisable-0.07 > Catalyst::Controller::AllowDisable

Download:
Catalyst-Controller-AllowDisable-0.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Module Version: 0.07   Source   Latest Release: Catalyst-Controller-AllowDisable-0.08

NAME ^

Catalyst::Controller::AllowDisable - Use when you want to disable your controller.

SYNOPSIS ^

    Package App::Web::Controller::Devel;

    use base qw/Catalyst::Controller::AllowDisable/;

    sub make_10000_users : Local {

    }

    1;

myapp.yml

 on_controller_disable:1

DESCRIPTION ^

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.

METHOD ^

new

AUTHOR ^

Tomohiro Teranishi, <tomohiro.teranishi at gmail.com>

COPYRIGHT & LICENSE ^

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.