In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > I'm having problems with corrupted data about every month or so. The > problem > seems to be that the New file sometimes writes only about half the old > file. I was under the impression that flock would prevent the data from > being corrupted. Can anyone tel me what I am doing wrong, and what I > should be doing instead? [...] > open(NEW,$new) or die "Can't Open File: $!"; [...] > print NEW $_;
> Is there something inherently wrong with doing it this way? Printing to a file handle that was opened for reading? -- Kevin Pfeiffer -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]