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