The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

COPYRIGHT

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.