Problems? Is your data what you think it is? | |
PerlMonks |
Re: converting strings to intsby BrowserUk (Patriarch) |
on Mar 20, 2010 at 12:31 UTC ( [id://829792]=note: print w/replies, xml ) | Need Help?? |
The warning is there to help you. If you know you are going to be trying to treat null strings as numbers, turn it off:
And you can prevent the used only once warning, by using them twice. Eg. add a line $a = $b;. Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|