1Catalyst::ScriptRole(3)User Contributed Perl DocumentatioCnatalyst::ScriptRole(3)
2
3
4
6 Catalyst::ScriptRole - Common functionality for Catalyst scripts.
7
9 package MyApp::Script::Foo;
10 use Moose;
11 use namespace::autoclean;
12
13 with 'Catalyst::ScriptRole';
14
15 sub _application_args { ... }
16
18 Role with the common functionality of Catalyst scripts.
19
21 run
22 The method invoked to run the application.
23
25 application_name
26 The name of the application class, e.g. MyApp
27
29 Catalyst
30
31 MooseX::Getopt
32
34 Catalyst Contributors, see Catalyst.pm
35
37 This library is free software, you can redistribute it and/or modify it
38 under the same terms as Perl itself.
39
40
41
42perl v5.12.1 2010-07-07 Catalyst::ScriptRole(3)