summaryrefslogtreecommitdiff
path: root/cspreport.pl
diff options
context:
space:
mode:
Diffstat (limited to 'cspreport.pl')
-rw-r--r--cspreport.pl15
1 files changed, 15 insertions, 0 deletions
diff --git a/cspreport.pl b/cspreport.pl
new file mode 100644
index 0000000..31281d1
--- /dev/null
+++ b/cspreport.pl
@@ -0,0 +1,15 @@
+#!/usr/bin/perl -w
+
+use strict;
+use warnings;
+use utf8;
+use lib qw/./;
+
+use CGI::PSGI;
+use cspreport;
+
+my $handler = sub {
+ my $env = shift;
+ my $app = cspreport->new( { QUERY => CGI::PSGI->new($env) } );
+ $app->run_as_psgi();
+};