in reply to Line Ending Converter

You should check the value of the first open and abort that file if it fails:
open FILE, $file or next;
Otherwise, if the first open fails and the second is successful, the file will be emptied out (i.e. erased). Ouch!

Replies are listed 'Best First'.
RE: RE: Line Ending Converter
by kayos (Sexton) on Apr 25, 2000 at 21:16 UTC
    thanks turnstep, I could have nuked my files!!