v3.05 release
[perl/plp/.git] / PLP / Functions.pm
index 99aa27b1ffc1dd12a19fca30a8c2fe52dfb5a20a..080c61559e6b273ec3cfbb76970f75f89f317233 100644 (file)
@@ -122,8 +122,8 @@ sub WriteFile ($$) {
 sub Counter ($) {
     local *COUNTER;
     local $/ = undef;
-    open           COUNTER, "+<$_[0]" or
-    open          COUNTER, ">$_[0]"  or return undef;
+    open           COUNTER, '+<', $_[0] or
+    open          COUNTER, '>',  $_[0] or return undef;
     flock          COUNTER, 2;
     seek           COUNTER, 0, 0;
     my $counter = <COUNTER>;