http://www.perlmonks.org?node_id=1040443


in reply to Re^2: non numeric data
in thread non numeric data

Depending on the source of your data, it may have whitespace (especially a newline) at the end.
Bill