[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Concatenating files



On 23 Jul 1999, Richard L. Anderson wrote:

> I have several text files where I have two columns of data delimited
> by a tab.  I would like to combine these files into a single file with
> many tab delimited columns.  The approach I am taking involves
> creating a hash that contains anonymous references to other lists,
> reading each of the files, splitting each line on the tab, and
> appending the resulting list to one of the anonymous lists stored in
> the hash.  
> 
> Is there a module to perform this operation or perhaps a more elegant
> way to do this?
> 
It sounds from the description like each file contains a key, which is
presumably representing the same quantity across files.

In which case, what you're doing sounds pretty good already. Elegant? Why
not? :-)

Arved



===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org