in reply to
Re^3: scanning hash
in thread scanning hash
need to change that slightly so it will return true if all the keys are undef:
return 0 unless defined $_ ? $_ eq $value : defined $value ? 0 : 1
No, I don't.
$ perl -le'print undef eq undef'
Update: oh, I see what made you think that. I had to NOT my XOR condition. I forgot that XOR produces false rather than true if both operands are equal.
Makeshifts last the longest.
Use two parentheses: (Like this: :) )
Use one parenthesis: (Like this: :)
Reverse direction of the smiley: (Like this: (: )
Use angle/square brackets instead of parentheses
Use C-style commenting to set the smiley off from the closing parenthesis
Make the smiley a dunce: (:>
I disapprove of emoticons
Results (652 votes),