Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Hash Printing reveals Hash Memory Location

by lidden (Deacon)
on Feb 04, 2012 at 00:59 UTC ( #951740=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Hash Printing reveals Hash Memory Location
in thread Hash Printing reveals Hash Memory Location

It returns the expression on the right side of "&&" if and only if both expressions are true.
It returns the expression on the right side if the expression on the left side is true.
$ perl -E 'say "Yes" if "Foo" && 0 eq 0' # says "Yes" $ perl -E 'say "Yes" if "Foo" && "" eq ""' # says "Yes" $ perl -E 'say "Yes" if "Foo" && 0 eq ""' # Nothing


Comment on Re^3: Hash Printing reveals Hash Memory Location
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2014-09-24 04:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (245 votes), past polls