From: Sebastian Riedel Date: Mon, 21 Mar 2005 19:33:47 +0000 (+0000) Subject: cgi.pl-> nph-cgi.pl X-Git-Tag: 5.7099_04~1748 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=3fde004fb4834f17f75d0966097ff0094069402d cgi.pl-> nph-cgi.pl --- diff --git a/Changes b/Changes index bf809d6..c8d94d4 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,7 @@ This file documents the revision history for Perl extension Catalyst. - more documentation (Andrew Ford) - added connection informations (Christian Hansen) - HTTP::Request support in Catalyst::Test (Christian Hansen) + - moved cgi.pl to nph-cgi.pl 4.28 Sat Mar 19 22:00:00 2005 - fixed isa tree (Christian Hansen) diff --git a/lib/Catalyst/Helper.pm b/lib/Catalyst/Helper.pm index 77703b6..74bd0fa 100644 --- a/lib/Catalyst/Helper.pm +++ b/lib/Catalyst/Helper.pm @@ -322,7 +322,7 @@ sub _mk_cgi { my $self = shift; my $name = $self->{name}; my $script = $self->{script}; - $self->mk_file( "$script\/cgi.pl", <<"EOF"); + $self->mk_file( "$script\/nph-cgi.pl", <<"EOF"); $Config{startperl} -w use strict; @@ -337,7 +337,7 @@ __END__ =head1 NAME -cgi - Catalyst CGI +nph-cgi - Catalyst CGI =head1 SYNOPSIS @@ -360,7 +360,7 @@ the same terms as perl itself. =cut EOF - chmod 0700, "$script/cgi.pl"; + chmod 0700, "$script/nph-cgi.pl"; } sub _mk_server { @@ -447,7 +447,7 @@ GetOptions( 'help|?' => \\\$help, 'port=s' => \\\$port ); pod2usage(1) if \$help; Catalyst::Test::server( - \$port, File::Spec->catfile( \$FindBin::Bin, 'cgi.pl' ) ); + \$port, File::Spec->catfile( \$FindBin::Bin, 'nph-cgi.pl' ) ); 1; __END__