| 1 | #!/usr/bin/env perl | ||
| 2 | |||
| 3 | use Catalyst::ScriptRunner; | ||
| 4 | Catalyst::ScriptRunner->run('MojoMojo', 'Test'); | ||
| 5 | |||
| 6 | 1; | ||
| 7 | |||
| 8 | =head1 NAME | ||
| 9 | |||
| 10 | mojomojo_test.pl - Catalyst Test | ||
| 11 | |||
| 12 | =head1 SYNOPSIS | ||
| 13 | |||
| 14 | mojomojo_test.pl [options] uri | ||
| 15 | |||
| 16 | Options: | ||
| 17 | --help display this help and exits | ||
| 18 | |||
| 19 | Examples: | ||
| 20 | mojomojo_test.pl http://localhost/some_action | ||
| 21 | mojomojo_test.pl /some_action | ||
| 22 | |||
| 23 | See also: | ||
| 24 | perldoc Catalyst::Manual | ||
| 25 | perldoc Catalyst::Manual::Intro | ||
| 26 | |||
| 27 | =head1 DESCRIPTION | ||
| 28 | |||
| 29 | Run a Catalyst action from the command line. | ||
| 30 | |||
| 31 | =head1 AUTHORS | ||
| 32 | |||
| 33 | Catalyst Contributors, see Catalyst.pm | ||
| 34 | |||
| 35 | =head1 COPYRIGHT | ||
| 36 | |||
| 37 | This library is free software. You can redistribute it and/or modify | ||
| 38 | it under the same terms as Perl itself. | ||
| 39 | |||
| 40 | =cut |