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