This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
t/loc_tools.pl: No setlocale when no locales
authorKarl Williamson <khw@cpan.org>
Sat, 13 Apr 2019 18:04:29 +0000 (12:04 -0600)
committerKarl Williamson <khw@cpan.org>
Sat, 13 Apr 2019 18:16:11 +0000 (12:16 -0600)
commite41845ea721b5da4e3e404cf1a32b9641d3955a8
treefeafb39341f3abcb72d828ec7b9f1ca5b368eeee
parentd373bd46faf465c035c57e089175139afb75d0b3
t/loc_tools.pl: No setlocale when no locales

Don't call this function unconditionally.  There may be no locale
handling available, so check that first.
t/loc_tools.pl