use Pod::Usage;
use Catalyst::PAR;
+my $core = 0;
my $engine = 'CGI';
my $help = 0;
my $par = '[% appprefix %].par';
GetOptions(
+ 'core' => \$core,
'engine=s' => \$engine,
'help|?' => \$help,
'par=s' => \$par
pod2usage(1) if $help;
Catalyst::PAR->new->package( {
+ core => $core,
engine => $engine,
par => $par,
class => '[% name %]'
[% appprefix %]_package.pl
Options:
- -engine engine to use for dependency detection
+ -core also include modules bundled with Perl (defaults to false)
+ -engine engine to use for dependency detection (defaults to CGI)
-help display this help and exits
- -par name for the par archive
+ -par name for the par archive (defaults to [% appprefix %].par)
Examples:
[% appprefix %]_package.pl [% appprefix %].par FastCGI