# @numbers are shortened versions of @values to make numerical comparison easier. @keys = ('-0.9940000000', '0.1190000000', '-0.0355000000'); @values = ('-0.993999999999999999', '-0.118999999999999999', '-0.035499999999999999'); @array = ('0.1190000000', -0.0355000000'); # cmopare array to the keys in the array - extract the corresponding values. # desired output --- # 0.118999999999999999 -0.035499999999999999 #