develooper Front page | perl.beginners | Postings from March 2002

appending to rows

Thread Next
Ho, Tony
March 1, 2002 04:49
appending to rows
Message ID:
Hi guys
I was wondering if you could help me
I have 2 files.
One file has 3 data rows, A, B and C
The file has 1 data row D.
I need to append row D to rows A and C in the first file, based on some
Any ideas how I could go about this ?
Another alternative would be for me to open up a new file and write
row 1 : AD
row 2 : B
row 3 : CD
Is the second approach better in terms of performance than the first
approach as I will have more than 1 million rows to deal with ?
Thanks in advance

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About