root/lang/perl/App-Starter/trunk/bin/app-starter-catalyst.pl @ 8968

Revision 8968, 0.6 kB (checked in by tomyhero, 5 years ago)

lang/perl/App-Starter : fix typo

Line 
1#!/usr/bin/perl
2
3use strict;
4use warnings;
5use App::Starter;
6use Getopt::Long;
7
8my %opt;
9GetOptions( \%opt, 'name=s' , 'template=s' );
10App::Starter->new( { template => $opt{template} ,  name => $opt{name} , replace => { app => $opt{name} , app_prefix => lc $opt{name}  }  } )->create;
11
121;
13__END__
14
15=head1 NAME
16
17app-starter-catalyst.pl - App::Starter script file for catalyst.
18
19=head1 SYNOPSIS
20
21 app-starter-catalyst.pl --template  --name MyApp
22
23=head1 DESCRIPTION
24
25automaticaly set rule for app app_prefix from --name options.
26
27=head1 SEE ALSO
28
29L<App::Starter>
30
31=head1 AUTHOR
32
33Tomohiro Teranishi
34
35=cut
36
Note: See TracBrowser for help on using the browser.