No such thing as a small change | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I'm a newbie to Perl so any help will be greatly appreciated. I'm having a problem figuring out how to concatenate the contents of two files.
I basically have file A.txt and file B.txt. I would like the contents of file B.txt appended to the end of file A.txt. I've tried a bunch of things and I can't get it to work. I tried opening a file handle for A.txt (for appending), and print the file B.txt to it, but all I got was the line B.txt at the end of the file A.txt (obviously wrong). TIA for your help. In reply to How to concatenate the contents of two files? by yankeeblue
|
|