From 346533b5a8c78963e00ab44598eeae628a91ce53 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Wed, 4 Jun 2008 16:50:21 +0000 Subject: [PATCH] fix perl 5.6 syntax error in t/50-cgi.t > Bareword "STDOUT" not allowed while "strict subs" in use. --- t/50-cgi.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/50-cgi.t b/t/50-cgi.t index b3d5105..57e766b 100644 --- a/t/50-cgi.t +++ b/t/50-cgi.t @@ -18,7 +18,7 @@ my $base = -w '/tmp' ? '/tmp' : cwd(); my $testfile = 'testfile.plp'; not -f "$base/$testfile" or BAIL_OUT("$testfile exists"); -open ORGOUT, '>&', STDOUT; +open ORGOUT, '>&', *STDOUT; sub plp_is { my ($test, $plp, $expect) = @_; -- 2.30.0