Dear Perl users,

what's the best way to transform column table in row format. I know how to split each line according to delimiter and than put it separately into array, but I have more complicated problem (with multiple equal records in the first column)

id001  text1
id001  text2
id001  text3
id002  text23
id002  text555
id003  text666

and want something like:

id001 text1 text2 text3
id002 text23 text 555
id003 text666

Thank's for any suggestions.

Cheers, Andrej

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


Reply via email to