Remove taint from tests as this breaks in a local::lib environment
as PERL5LIB is stripped.
-0.0027
+0.0027 2009-04-03 14:55:34
Add 'kill_env' and default to killing 'MOD_PERL' from environment.
test_requires 'Catalyst::Plugin::Static::Simple';
-build_requires 'Test::More';
+build_requires 'Test::More' => '0.86';
auto_install;
=head1 VERSION
-Version 0.004
+Version 0.005
=cut
-our $VERSION = '0.004';
+our $VERSION = '0.005';
=head1 SYNOPSIS
do {
no warnings;
-# CGIs import stuff, so putting them into this package breaks Cat 5.8
eval '
package Catalyst::Controller::CGIBin::_CGIs_::'.$action_name.';
sub {' . slurp($cgi) . '}'
=head1 VERSION
-Version 0.0026
+Version 0.0027
=cut
-our $VERSION = '0.0026';
+our $VERSION = '0.0027';
=head1 SYNOPSIS
use Catalyst::Test 'TestCGIBin';
use HTTP::Request::Common;
+# this should be ignored
+$ENV{MOD_PERL} = "mod_perl/2.0";
+
my $response = request POST '/cgi-bin/path/test.pl', [
foo => 'bar',
bar => 'baz'
my $obj = Catalyst::Controller::WrapCGI->new;
+delete $ENV{MOD_PERL};
+
my $want = {%ENV};
my $have = {%ENV};
{
use CGI ':standard';
+die '$ENV{MOD_PERL} must not be set' if $ENV{MOD_PERL};
+
print header;
print 'foo:',param('foo'),' bar:',param('bar')