Hi all

So, I have 4 fields file; fields are tab separated:

00001   BRCA3   BRCA33|BRCA55   symbol 998
00002   ABCB1   DASH|BASG|AVGA4   symbol 7583

In first step I split each row and store it in array; e.g.:

@array=( '00001',  'BRCA3',  'BRCA33|BRCA55',  'symbol998')

Now I have to split third element - which is bar delimited ( i.e. BRCA33|BRCA55 --> split it to BRCA33 and BRCA55) and add it to @array. Additional problem: the length of third element variate. Is that possible or have you any other suggestion.

Thanks in advance, 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