Get numeric formatting information. Returns a reference to a hash
containing the current locale formatting values.
+Users of this function should also read L<perllocale>, where there is a
+discussion devoted to this function
+(L<perllocale/The localeconv function>).
Here is how to query the database for the B<de> (Deutsch or German) locale.
=item setlocale
-Modifies and queries program's locale. The following examples assume
+Modifies and queries the program's underlying locale. Users of this
+function should also read L<perllocale>, where there is a discussion
+devoted to this function (L<perllocale/The setlocale function>).
+Note that Perl itself is almost entirely unaffected by the locale
+except within the scope of S<C<"use locale">>. (Exceptions are listed
+in L<perllocale/Not within the scope of any use locale variant>.)
+
+The following examples assume
use POSIX qw(setlocale LC_ALL LC_CTYPE);
# LC_CTYPE -- explained below
# (Showing the testing for success/failure of operations is
# omitted in these examples to avoid distracting from the main
- # point)
+ # point; also, any real work would almost certainly have to be
+ # done within the scope of "use locale".)
+
use POSIX qw(locale_h);
# query and save the old locale