]> ruin.nu Git - ndwebbie.git/blobdiff - script/ndweb_cgi.pl
Initial commit of catalyst files
[ndwebbie.git] / script / ndweb_cgi.pl
diff --git a/script/ndweb_cgi.pl b/script/ndweb_cgi.pl
new file mode 100755 (executable)
index 0000000..835d4e7
--- /dev/null
@@ -0,0 +1,37 @@
+#!/usr/bin/perl -w
+
+BEGIN { $ENV{CATALYST_ENGINE} ||= 'CGI' }
+
+use strict;
+use warnings;
+use FindBin;
+use lib "$FindBin::Bin/../lib";
+use NDWeb;
+
+NDWeb->run;
+
+1;
+
+=head1 NAME
+
+ndweb_cgi.pl - Catalyst CGI
+
+=head1 SYNOPSIS
+
+See L<Catalyst::Manual>
+
+=head1 DESCRIPTION
+
+Run a Catalyst application as a cgi script.
+
+=head1 AUTHOR
+
+Sebastian Riedel, C<sri@oook.de>
+
+=head1 COPYRIGHT
+
+
+This library is free software, you can redistribute it and/or modify
+it under the same terms as Perl itself.
+
+=cut