This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
cygwin32 update (untested adaptation of patch against 5.005_03)
[perl5.git] / lib / cacheout.pl
index 48d594b..64378cf 100644 (file)
@@ -35,7 +35,7 @@ $seq = 0;
 $numopen = 0;
 
 if (open(PARAM,'/usr/include/sys/param.h')) {
-    local($.);
+    local($_, $.);
     while (<PARAM>) {
        $maxopen = $1 - 4 if /^\s*#\s*define\s+NOFILE\s+(\d+)/;
     }