This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
t/loc_tools.pl: Add fnc to see if locale category is available
authorKarl Williamson <khw@cpan.org>
Sun, 8 Mar 2015 16:39:38 +0000 (10:39 -0600)
committerKarl Williamson <khw@cpan.org>
Mon, 9 Mar 2015 15:37:08 +0000 (09:37 -0600)
commit128e4113466e835078eb016709e5d23b86be3120
treea8a790c4ed3a85a1b66b07bbb3d4515dafba8824
parent3324502157a94e17a9d37b4fc67334197389ab00
t/loc_tools.pl: Add fnc to see if locale category is available

It is possible for Perl to run on platforms that don't have locale
abilities, and it is possible to compile it to disable some or all of
locale processing.  This commit adds a function that for Perl code to
call that knows the nuances of detecting this.
t/loc_tools.pl