CGI-Application-Plugin-RunmodeDeclare Declare run modes with simple keywords: package My::App; use base 'CGI::Application'; use CGI::Application::Plugin::RunmodeDeclare; runmode foo { return $self->get_current_runmode } startmode begin { "Here" } INSTALLATION To install this module, run the following commands: perl Build.PL ./Build ./Build test ./Build install SUPPORT AND DOCUMENTATION After installing, you can find documentation for this module with the perldoc command. perldoc CGI::Application::Plugin::RunmodeDeclare You can also look for information at: RT, CPAN's request tracker http://rt.cpan.org/NoAuth/Bugs.html?Dist=CGI-Application-Plugin-RunmodeDeclare AnnoCPAN, Annotated CPAN documentation http://annocpan.org/dist/CGI-Application-Plugin-RunmodeDeclare CPAN Ratings http://cpanratings.perl.org/d/CGI-Application-Plugin-RunmodeDeclare Search CPAN http://search.cpan.org/dist/CGI-Application-Plugin-RunmodeDeclare COPYRIGHT AND LICENCE Copyright (C) 2008 Rhesa Rozendaal This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.