]> ruin.nu Git - ndwebbie.git/blobdiff - script/ndweb_cgi.pl
Use new race infrastructure for members stats
[ndwebbie.git] / script / ndweb_cgi.pl
index 835d4e7f5bb9b0427a386a9ec7105ad2e25814b6..6cb069b2a32e6ae0b4fcc2c3e07c3ee3443f9ef6 100755 (executable)
@@ -1,14 +1,7 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
 
-BEGIN { $ENV{CATALYST_ENGINE} ||= 'CGI' }
-
-use strict;
-use warnings;
-use FindBin;
-use lib "$FindBin::Bin/../lib";
-use NDWeb;
-
-NDWeb->run;
+use Catalyst::ScriptRunner;
+Catalyst::ScriptRunner->run('NDWeb', 'CGI');
 
 1;
 
@@ -24,14 +17,14 @@ See L<Catalyst::Manual>
 
 Run a Catalyst application as a cgi script.
 
-=head1 AUTHOR
+=head1 AUTHORS
 
-Sebastian Riedel, C<sri@oook.de>
+Catalyst Contributors, see Catalyst.pm
 
 =head1 COPYRIGHT
 
-
-This library is free software, you can redistribute it and/or modify
+This library is free software. You can redistribute it and/or modify
 it under the same terms as Perl itself.
 
 =cut
+