zer has asked for the wisdom of the Perl Monks concerning the following question:


I was fiddling about with the open mode '+<'.

open (A, '+<', "somefile.html") or die $!; print A map{s/a/b/g;$_} <A>;
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.8