in reply to Module for sets of strings, ordered, case-insensitive?
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