Andrej Kastrin [AK], on Monday, December 19, 2005 at 10:41 (+0100) typed: AK> 00001 BRCA3 BRCA33|BRCA55 symbol 998 AK> 00002 ABCB1 DASH|BASG|AVGA4 symbol 7583 AK> In first step I split each row and store it in array; e.g.: AK> @array=( '00001', 'BRCA3', 'BRCA33|BRCA55', 'symbol998')
if you want to split use split :) so simple, eh ? perldoc -f split I am not sure if split third column and add it to end to array is good idea. I would use anonymous hashes for this, or AoA -- How do you protect mail on web? I use http://www.2pu.net [Let's nuke the bridge we've burned 2,000 times before...] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>