Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Hash Printing reveals Hash Memory Location

by lidden (Curate)
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://951740]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2017-03-29 16:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (352 votes). Check out past polls.