in reply to Re: when do i know that the iterator for a hash was reseted
in thread when do i know that the iterator for a hash was reseted
Be careful with that regex:
(lc($name) eq lc($string)) and ($name =~ /$string/i) are not the same, as the regex will match any occurance of $string within $name (ie, substrings of $name, as well).
For the original poster -- have you considered using a case insensitive hash? See Tie::CPHash
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: when do i know that the iterator for a hash was reseted
by Anonymous Monk on Apr 20, 2006 at 15:38 UTC |