in reply to Need some wisdom on strings to numbers

num2 value 123.1 is surrounded in quotes and remains as a string.

Yes it is surrounded by quotes. No, it's not a string. Data::Dumper just seems to like to add quotes to floats.

It doesn't matter. Perl switches between string and number on need.

  • Comment on Re: Need some wisdom on strings to numbers