I'm assuming (and hoping) that perl is smart enough to convert $x to a number for the computations and to a string for printing, and do it all at compile time and not at runtime. Is this a safe assumption?
In reply to Re^2: When does '123' become the number 123.0?
by wa1ter
in thread When does '123' become the number 123.0?
by wa1ter
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |