aboutsummaryrefslogtreecommitdiffstats
path: root/script/componentui_cgi.pl
diff options
context:
space:
mode:
Diffstat (limited to 'script/componentui_cgi.pl')
-rwxr-xr-xscript/componentui_cgi.pl37
1 files changed, 37 insertions, 0 deletions
diff --git a/script/componentui_cgi.pl b/script/componentui_cgi.pl
new file mode 100755
index 0000000..f75d75e
--- /dev/null
+++ b/script/componentui_cgi.pl
@@ -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 ComponentUI;
+
+ComponentUI->run;
+
+1;
+
+=head1 NAME
+
+componentui_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