in reply to Re^3: string problemin thread string problem
You do know how to get elements from a list, don't you?
See perlintro and perldata.
Since in your script $record->[2] is 'exon' I would assume that $record->[3] and $record->[4] are the numbers you are looking for