Welcome to the Monastery | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I haven't personally used the module, but it might be an opportunity to try out Tie::Hash::Regex. Your content-length key could match against a regex like this, for example:
From looking over the synopsis, the lookup would be as follows:
Realistically though, it's probably better to leave hash behavior alone, and just normalize your input before trying to do key lookups. Dave In reply to Re: On creating hash whose keys aren't case-sensitive
by davido
|
|