Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Curious about Hashes which viewed as a list has only one item

by Errto (Vicar)
on Feb 29, 2008 at 17:37 UTC ( #671244=note: print w/replies, xml ) Need Help??


in reply to Re^2: Curious about Hashes which viewed as a list has only one item
in thread Curious about Hashes which viewed as a list has only one item

Well, for one thing if you were actually writing that literally you'd have to put the HASH(xxx) bit in quotes. But you're correct, that statement would not print anything. But if you changed defined to exists, then it would print yep because that key is really present in the hash.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2016-12-06 04:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (100 votes). Check out past polls.