Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: What is the correct definition of False and Null in Perl?

by ikegami (Patriarch)
on Oct 09, 2011 at 05:50 UTC ( [id://930423]=note: print w/replies, xml ) Need Help??


in reply to Re^2: What is the correct definition of False and Null in Perl?
in thread What is the correct definition of False and Null in Perl?

Not really. Many strings become zero when converted as a number, but until they've been converted, Perl doesn't consider them zero. This includes "abc" and those you listed.

You'll never get those strings from stringifying zero, so there's no problem.

  • Comment on Re^3: What is the correct definition of False and Null in Perl?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-25 19:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found