in reply to Matching case insensitively in Hashes
Also, your syntax in the if statement isn't quite right. You are assigning a value to $match rather than comparing match to the hash value. To compare the values use:
See perlop for details.
Best, beth
Update: added clarifications on "use ... keys"
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Matching case insensitively in Hashes
by almut (Canon) on Feb 11, 2009 at 09:48 UTC |