Catalyst::ScriptRunner.3pm

Langue: en

Version: 2009-11-30 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Catalyst::ScriptRunner - The Catalyst Framework script runner

SYNOPSIS

     # Will run MyApp::Script::Server if it exists, otherwise
     # will run Catalyst::Script::Server.
     Catalyst::ScriptRunner->run('MyApp', 'Server');
 
 

DESCRIPTION

This class is responsible for running scripts, either in the application specific namespace (e.g. "MyApp::Script::Server"), or the Catalyst namespace (e.g. "Catalyst::Script::Server")

METHODS

run ($application_class, $scriptclass)

Called with two parameters, the application classs (e.g. MyApp) and the script class, (i.e. one of Server/FastCGI/CGI/Create/Test)

AUTHORS

Catalyst Contributors, see Catalyst.pm This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.