Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^6: Purpose of =~ and = in this statement

by afoken (Chancellor)
on May 26, 2022 at 23:23 UTC ( #11144212=note: print w/replies, xml ) Need Help??


in reply to Re^5: Purpose of =~ and = in this statement
in thread Purpose of =~ and = in this statement

"0 but true" is the self-documenting way to have a zero value evaluating to true, "0E0" is the clever but not so obvious one.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re^6: Purpose of =~ and = in this statement

Replies are listed 'Best First'.
Re^7: Purpose of =~ and = in this statement
by Marshall (Canon) on May 27, 2022 at 00:25 UTC
    I am not the judge or the author of either one of these variations. I simply report that 0E0 is in current use.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2023-03-27 11:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (65 votes). Check out past polls.

    Notices?