fix perl 5.6 syntax error in t/50-cgi.t
[perl/plp/.git] / 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) = @_;