This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Silence spurious locale warnings
authorKarl Williamson <khw@cpan.org>
Sat, 15 Nov 2014 16:48:14 +0000 (09:48 -0700)
committerKarl Williamson <khw@cpan.org>
Sat, 15 Nov 2014 17:06:33 +0000 (10:06 -0700)
commit6475ad77628d7565995310eb58147eb2ab4924ad
treeb98f1b3b449abb7a69d7198b110b61386115bf18
parentc83a69a2acd789c69782efea29f4d01680afee33
Silence spurious locale warnings

When testing the locales on the system, we don't want to be warned that
particular ones may not work well with Perl, as the point of the test is
to find and list the incompatibilities.

When looking for locales suitable for some purpose, we try every one
possible until we find one that matches what we're looking for.  This
may entail briefly switching into locales that aren't fully compatible
with Perl.  Again we don't want to be warned about such a locale.  We're
not using it for anything except to determine suitability anyway.
lib/locale.t
t/loc_tools.pl