in reply to Floats with trailing zeros as a hash key
Use printf rather than print to output the hash keys.
printf "%.2f\n", $_ for keys %ITEMS; __OUTPUT__ 58.29 38.55 45.20 29.95
In Section
Seekers of Perl Wisdom