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>
Wed, 4 Jun 2008 16:50:21 +0000 (16:50 +0000)
> Bareword "STDOUT" not allowed while "strict subs" in use.

t/50-cgi.t

index b3d5105778bbb5adc2d7bd664762d3d45a396a64..57e766b116a8ba066693db9eedd21aada93b357d 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) = @_;