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.
In reply to Re: Need some wisdom on strings to numbers
by ikegami
in thread Need some wisdom on strings to numbers
by decebel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |