John Napiorkowski > Catalyst-Runtime-5.90062 > Catalyst::ScriptRole

Download:
Catalyst-Runtime-5.90062.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

New  23
Open  15
Stalled  1
View/Report Bugs
Source   Latest Release: Catalyst-Runtime-5.90079_003

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.

print_usage_text

Prints out the usage text for the script you tried to invoke.

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.

syntax highlighting: