My perspective is this: perl knows how to translate numeric strings such as "14" into a number. But if a string contains anything that doesn't look like a number, there's really no unambiguous way to ensure that it's converted to the correct number. Examples include:
So perl is simply telling you that it's going to convert something to a number, but since it doesn't look like a number, you may not get the value you want....
...roboticus
I really ought to make a better default signature so I don't have to delete the stupid last line on every post...
In reply to Re: converting strings to ints
by roboticus
in thread converting strings to ints
by 7stud
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |