Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^5: What could make "()" a good value for boolean false?

by ikegami (Patriarch)
on Apr 01, 2016 at 15:58 UTC ( [id://1159293]=note: print w/replies, xml ) Need Help??


in reply to Re^4: What could make "()" a good value for boolean false?
in thread What could make "()" a good value for boolean false?

That passage is poorly worded, leading to people like you quoting it as it says something other than it says. It's actually referring to the value returned by () in scalar context, which is the same thing as saying undef. () is not a value. It shouldn't list one of the many many operator that can return something false in scalar context.

Replies are listed 'Best First'.
Re^6: What could make "()" a good value for boolean false?
by Anonymous Monk on Apr 01, 2016 at 18:40 UTC

    After also having consulted the Camel I now see your point and that you are right. Thank you for your patience and the lesson.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-24 17:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found