1 CGI-Application-Plugin-RunmodeDeclare
3 Declare run modes with simple keywords:
6 use base 'CGI::Application';
7 use CGI::Application::Plugin::RunmodeDeclare;
9 runmode foo { return $self->get_current_runmode }
10 startmode begin { "Here" }
14 To install this module, run the following commands:
21 SUPPORT AND DOCUMENTATION
23 After installing, you can find documentation for this module with the
26 perldoc CGI::Application::Plugin::RunmodeDeclare
28 You can also look for information at:
30 RT, CPAN's request tracker
31 http://rt.cpan.org/NoAuth/Bugs.html?Dist=CGI-Application-Plugin-RunmodeDeclare
33 AnnoCPAN, Annotated CPAN documentation
34 http://annocpan.org/dist/CGI-Application-Plugin-RunmodeDeclare
37 http://cpanratings.perl.org/d/CGI-Application-Plugin-RunmodeDeclare
40 http://search.cpan.org/dist/CGI-Application-Plugin-RunmodeDeclare
45 Copyright (C) 2008 Rhesa Rozendaal
47 This program is free software; you can redistribute it and/or modify it
48 under the same terms as Perl itself.