Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: Re: File Copy/Merge Question

by diotalevi (Canon)
on Feb 13, 2004 at 21:27 UTC ( [id://328883] : note . print w/replies, xml ) Need Help??

in reply to Re: File Copy/Merge Question
in thread File Copy/Merge Question

That's actually rather unsafe. See Dangerous diamonds!. This is why I was using the "< $file\0" form. If I were coding to 5.8 then I'd use three-arg open. You also just destroyed any binary data if this is to be done on a Windows computer.