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 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 commands, e-mail: [EMAIL PROTECTED]
> http://learn.perl.org/
>
>
>

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to