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


in reply to Re^6: nans, infs, and vomit
in thread nans, infs, and vomit

Try this instead:
$ perl -wle'print "infantile paralysis" + 0' Argument "infantile paralysis" isn't numeric in addition (+) at -e lin +e 1. inf
or even:
$ perl -le'use warnings "FATAL"=>"numeric"; print "infantile paralysis +" + 0'
I guess I'd like to know more about where you are finding this problematic. I don't quite get why you'd be taking arbitrary strings and numericizing them.