I was fiddling about with the open mode '+<'.
I know this is a bit of a mash up. But why is it that the files come out appended to as opposed to just over written. From what this feels like perl is acting like i called a '+>>'. Perl 5.8.8open (A, '+<', "somefile.html") or die $!; print A map{s/a/b/g;$_} <A>;
Thanks
In reply to perl open mode by zer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |