[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: Any Perl experts out there?
- Subject: Re: Any Perl experts out there?
- From: John B
- Date: Mon, 15 Dec 2003 06:44:00 +0000
> My initial thoughts would be to force both passed stings into lower
case
> using lc.
The problem is I only want the keys of the hash to be case-insensitive -
not the
values.
E.g. the xPL message might contain:
TEXT=Hello World
So I want to force the TEXT portion to lower case, but preserve the case of
Hello World.
I know I could loop through the hash and force the keys to lower case, but
I
wondered if there was a more elegant way of incorporating the switch to
lowercase into the call to map()?
Regards,
John
xPL Main Index |
xPL Thread Index |
xPL Home |
Archives Home
|