while(<F>){ next unless /(\d+\.\d+)/ && abs($1 - 5.56)<=.1; print $1,"\n"; } [download]
In reply to Re^2: matching a number by davidrw in thread matching a number by Anonymous Monk