in reply to Re: appending files
in thread appending files
I'm not sure what i'm doing wrong. Any suggestions would be appreciated. Thanks.#accts_to_load.txt contains the filenames of al the files I want to ap +pend together $acctstoload = "/apps/tmp/invs/accts_to_load.txt"; open(ACCTLOAD, $acctstoload) || die("cannot open $acctstoload"); #Here, I want to give a specific name to the file all the split files +are being merged into $batchfile = "mergedfile.txt"; while(<ACCTLOAD>) { `cat $_ >> $batchfile`; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: appending files
by BrowserUk (Patriarch) on Jan 04, 2006 at 05:26 UTC |