in reply to Re: simple hash question
in thread simple hash question

If his datastructure contains a 1 (a numeric value), there's no reason to resort to using the regexp comparisons. And there's no need to wrap the 1 in quotes.

You're barking up the wrong tree with those suggestions.

It is perfectly legit to say:

if ( $item != 1) {....

And a properly accessed hash element is not an exception to this rule.


Dave