in reply to Filehandles vs Uninitialized Values in pattern match

Hi!
Reading the perldoc documentation on open, I found that "+<" was recommended for reading from and writing to files, as "+>" would clobber the file first.
open (DAT, "+<$file") or die "$!";
worked on my linux machine (I haven't tested this on Windows though).
Have a nice weekend!