Fix docs, put SCRIPT_GEN back in the server scripts
[catagits/Catalyst-Devel.git] / share / script / myapp_server.pl.tt
index 9be7f74..887c191 100644 (file)
@@ -1,5 +1,9 @@
 [% startperl %]
 
+BEGIN {
+    $ENV{CATALYST_SCRIPT_GEN} = [% script_gen %] 
+}
+
 use Catalyst::ScriptRunner;
 Catalyst::ScriptRunner->run('[% name %]', 'Server');
 
@@ -7,13 +11,12 @@ Catalyst::ScriptRunner->run('[% name %]', 'Server');
 
 =head1 NAME
 
-[% appprefix %]_server.pl - Catalyst Testserver
+[% appprefix %]_server.pl - Catalyst Test Server
 
 =head1 SYNOPSIS
 
 [% appprefix %]_server.pl [options]
 
- Options:
    -d -debug          force debug mode
    -f -fork           handle each request in a new process
                       (defaults to false)
@@ -54,3 +57,4 @@ This library is free software. You can redistribute it and/or modify
 it under the same terms as Perl itself.
 
 =cut
+