I'd store lc($str) => $str pairs, like that you can always restore the original case.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
In reply to Re: Module for sets of strings, ordered, case-insensitive?
by LanX
in thread Module for sets of strings, ordered, case-insensitive?
by cxw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |