finding the numbers in a given range?

Posted by Jamis on Stack Overflow See other posts from Stack Overflow or by Jamis
Published on 2011-02-25T06:34:49Z Indexed on 2011/02/25 7:25 UTC
Read the original article Hit count: 164

Filed under:

Hi Friends, kindly tel me the concept to write a perl program behind this ?

167 GATCAAAATACTTGCTGGA 185 192 TAGTAGATAGATAGATAGTAGTAG 228

in a fileA i ve a range from 167 to 185 as given as above and also 192 to 228

in another fileB i ve set of numbers

2 3 4 5 6 7 8 168 169 179 185 193 1000

now from the above set of numbers in file B, i need to find out which are the numbers present between the range of 167 to 185 and print those numbers in the output.

so, output will be 168,169,179,185, 193

what will be the concept behind writing this program?

© Stack Overflow or respective owner

Related posts about perl