fix perl 5.6 syntax error in t/50-cgi.t
authorMischa POSLAWSKY <perl@shiar.org>
Wed, 4 Jun 2008 16:50:21 +0000 (16:50 +0000)
committerMischa POSLAWSKY <perl@shiar.org>
Thu, 5 Jun 2008 00:08:44 +0000 (00:08 +0000)
> Bareword "STDOUT" not allowed while "strict subs" in use.

t/50-cgi.t

index 0de69407b3798b2ae275747195bf9cb8847bf6cf..1dab313298719d393ae85b34f29ab921922c6314 100644 (file)
@@ -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) = @_;