use strict; use warnings; open FH,"data" or die "can't open the file"; while() { if(~/^