renamed scripts
[catagits/Catalyst-Devel.git] / share / script / myapp_cgi.pl.tt
diff --git a/share/script/myapp_cgi.pl.tt b/share/script/myapp_cgi.pl.tt
new file mode 100644 (file)
index 0000000..e68ffa4
--- /dev/null
@@ -0,0 +1,37 @@
+[% startperl %]
+
+BEGIN { $ENV{CATALYST_ENGINE} ||= 'CGI' }
+
+use strict;
+use warnings;
+use FindBin;
+use lib "$FindBin::Bin/../lib";
+use [% name %];
+
+[% name %]->run;
+
+1;
+
+=head1 NAME
+
+[% appprefix %]_cgi.pl - Catalyst CGI
+
+=head1 SYNOPSIS
+
+See L<Catalyst::Manual>
+
+=head1 DESCRIPTION
+
+Run a Catalyst application as a cgi script.
+
+=head1 AUTHORS
+
+Catalyst Contributors, see Catalyst.pm
+
+=head1 COPYRIGHT
+
+
+This library is free software. You can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut