simpler at this point to use the case_fold function of Unicode::CaseFold in both cases
Sure, TIMTOWTDI :-) Personally I just prefer core Perl when reasonably possible.
Here's another variant (Unicode::Collate has been in the core since 5.8), although the sorting order is different:
use Unicode::Collate; @list = Unicode::Collate->new()->sort(@list);
In reply to Re^3: Perl version dependent code
by haukex
in thread Perl version dependent code
by Wyrdweaver
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |