Re: File::Copy question

2002-10-07 Thread John W. Krahn
Steve wrote: > > I am using Windows 98 and ActiveState Perl. I have a log file that after a > certain size is truncated and reused. I have written a simple script to > copy that file to another file using File::Copy. Is there a way to make > sure the second file is appended instead of overwrit

RE: File::Copy question

2002-10-07 Thread Timothy Johnson
Sorry for not explaining better. See commments below. -Original Message- From: Mat Harris [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 7:24 AM To: Timothy Johnson Cc: 'Steve'; [EMAIL PROTECTED] Subject: Re: File::Copy question if you want to append to a second

Re: File::Copy question

2002-10-07 Thread Mat Harris
truncate logfile!"; > close LOG; > close ARCHIVE; > > ####### > > > > -Original Message- > From: Steve [mailto:[EMAIL PROTECTED]] > Sent: Monday, October 07, 2002 6:46 AM > To: [EMAIL PROTECTED] > Subject: File::Copy question >

RE: File::Copy question

2002-10-07 Thread Timothy Johnson
E; ### -Original Message- From: Steve [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 6:46 AM To: [EMAIL PROTECTED] Subject: File::Copy question I am using Windows 98 and ActiveState Perl. I have a log file that after a certain size is truncated and reused. I h

File::Copy question

2002-10-07 Thread Steve
I am using Windows 98 and ActiveState Perl. I have a log file that after a certain size is truncated and reused. I have written a simple script to copy that file to another file using File::Copy. Is there a way to make sure the second file is appended instead of overwritten, using File::Copy