From perllocale:
By default, Perl ignores the current locale. The "use locale" pragma tells Perl to use the current locale for some operations: [ ... ] lc().
$ perl -le 'print lc "ÄÖÜ";' ÄÖÜ $ echo $LC_ALL de_DE $ perl -Mlocale -le 'print lc "ÄÖÜ";' äöü
You can switch the current locale in your perl program reading locale or perllocale.
And BTW: lc is the same as "\L".
-- Frank
In reply to Re: Lowercasing umlauts in words
by haoess
in thread Lowercasing umlauts in words
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |