Provided by: libcatalyst-perl_5.90053-1_all
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.