Catalyst::ScriptRole.3pm

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

Catalyst::ScriptRole - Common functionality for Catalyst scripts.

SYNOPSIS

     package MyApp::Script::Foo;
     use Moose;
     use namespace::autoclean;
 
     with 'Catalyst::ScriptRole';
 
     sub _application_args { ... }
 
 

DESCRIPTION

Role with the common functionality of Catalyst scripts.

METHODS

run

The method invoked to run the application.

ATTRIBUTES

application_name

The name of the application class, e.g. MyApp

SEE ALSO

Catalyst

MooseX::Getopt

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.