![]() |
![]()
| ![]() |
![]()
NAMECatalyst::ScriptRole - Common functionality for Catalyst scripts. SYNOPSISpackage MyApp::Script::Foo; use Moose; use namespace::autoclean; with 'Catalyst::ScriptRole'; sub _application_args { ... } DESCRIPTIONRole with the common functionality of Catalyst scripts. METHODSrunThe method invoked to run the application. print_usage_textPrints out the usage text for the script you tried to invoke. ATTRIBUTESapplication_nameThe name of the application class, e.g. MyApp SEE ALSOCatalyst MooseX::Getopt AUTHORSCatalyst Contributors, see Catalyst.pm COPYRIGHTThis library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.
|