X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FHelper.pm;h=74bd0fa76837b53db34589463cb36fbe34049af4;hb=a0bb847e6fa82f029a4f77a1cbd29f51002c3e23;hp=77703b6fe8c881775f17b8e74cf7dde6d738ed6c;hpb=bc024080353d9982272a134e49e8601ed20c1a50;p=catagits%2FCatalyst-Runtime.git 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__