Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: scanning hash

by Aristotle (Chancellor)
on Aug 01, 2004 at 14:40 UTC ( #379075=note: print w/ replies, xml ) Need Help??


in reply to Re: scanning hash
in thread scanning hash

This code is incorrect. It will treat undefs and empty strings as the same.

Makeshifts last the longest.

Replies are listed 'Best First'.
Re^3: scanning hash
by ambrus (Abbot) on Aug 01, 2004 at 15:15 UTC

    Undefs and empty strings are equal. The OP wanted to check if all values are equal.

      Oh dear. Next thing we will argue about whether the equality of two values can be determined by the equality of their string representations. :-)

      Makeshifts last the longest.

        (puzzled) If you really want...I'll start us off.

        You can't determine the equality of two values from the equality of their string representations.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2016-07-01 04:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (406 votes). Check out past polls.