Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Re: Re: Checking whether a $var is a number

by John M. Dlugosz (Monsignor)
on Sep 05, 2001 at 02:39 UTC ( [id://110188]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Checking whether a $var is a number
in thread Checking whether a $var is a number

Hmm, when does a scalar convert to 1 when it's not a number?

Note that I didn't mention that you should already know that the value is "a string" rather than a reference or funky blessed overloaded object, but carefully worded it because I had that in mind.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://110188]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-03-29 11:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found