while(){ /(\d+\.\d+)/; if (abs($1 - 5.56)<=.1) {print $1,"\n"} }