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
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
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
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
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 ...
TIA
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional