Re: How to append a text file to an existing text file

2008-09-21 Thread Back9
On Sep 19, 11:31 am, [EMAIL PROTECTED] (John W. Krahn) wrote: > Back9 wrote: > > Hello, > > Hello, > > > Is there a way to append a text file to an existing text file. > > For example, > > File A: > > Jan Feb Mar April ... > > > File B: > > 10 30 40 20 ... > > > After appending job, the File A woul

Re: How to append a text file to an existing text file

2008-09-19 Thread John W. Krahn
Back9 wrote: Hello, Hello, Is there a way to append a text file to an existing text file. For example, File A: Jan Feb Mar April ... File B: 10 30 40 20 ... After appending job, the File A would be like below. Jan Feb Mar April ... 10 30 40 20 ... open A, '>>', 'File A' or die "Cannot ope

Re: How to append a text file to an existing text file

2008-09-19 Thread Mr. Shawn H. Corey
On Thu, 2008-09-18 at 10:16 -0700, Back9 wrote: > Hello, > > Is there a way to append a text file to an existing text file. > For example, > File A: > Jan Feb Mar April ... > > File B: > 10 30 40 20 ... > > After appending job, the File A would be like below. > Jan Feb Mar April ... > 10 30 40 2

Re: How to append a text file to an existing text file

2008-09-19 Thread jeff pang
Hi, It's a basic job in Perl, just open, read, and print. open B with read mode; read the content of B into memory (ie, save to a variable); close B; open A with append mode; write B's content to A; close A; 2008/9/19 Back9 <[EMAIL PROTECTED]>: > Hello, > > Is there a way to append a text fil