http://qs321.pair.com?node_id=1181027


in reply to Regarding pattern Matching

Looks like lc and hash should be sufficient.

%hash=( audi => AUDI, ...); print $hash{ lc($input) };

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!