in reply to Warning-free numerification of a string

Perhaps use looks_like_number from Scalar::Util to check before you try to numify it? Besides that I think yes, you're going to have to do a { no warnings 'numeric'; ... }.