Catalyst::ScriptRunner - The Catalyst Framework script runner


Catalyst-Runtime documentation  | view source Contained in the Catalyst-Runtime distribution.

Index


NAME

Top

Catalyst::ScriptRunner - The Catalyst Framework script runner

SYNOPSIS

Top

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

DESCRIPTION

Top

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

Top

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

Top

Catalyst Contributors, see Catalyst.pm

COPYRIGHT

Top


Catalyst-Runtime documentation  | view source Contained in the Catalyst-Runtime distribution.