summaryrefslogtreecommitdiff
path: root/pod/perlvar.pod
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2018-02-15 22:44:24 -0700
committerKarl Williamson <khw@cpan.org>2018-02-18 15:44:23 -0700
commit58e641fba50d93bcd84c0dc042b36d201958293d (patch)
treebd06d20f02a79ea06ae9a221870173f919482a5b /pod/perlvar.pod
parentb2e9ba0c7ee0f62ac452f6ba0a7389659e2d6ee4 (diff)
downloadperl-58e641fba50d93bcd84c0dc042b36d201958293d.tar.gz
Add switch_to_globale_locale()
This new API function is for use in applications that call alien library routines that are expecting the old pre-POSIX 2008 locale functionality, namely a single global locale accessible via setlocale(). This function converts the calling thread to use that global locale, if not already there.
Diffstat (limited to 'pod/perlvar.pod')
-rw-r--r--pod/perlvar.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlvar.pod b/pod/perlvar.pod
index 06d1ef9a93..ba23771c8d 100644
--- a/pod/perlvar.pod
+++ b/pod/perlvar.pod
@@ -2267,7 +2267,7 @@ value is 1) or not (the value is 0). This variable is always 1 if the
perl has been compiled without threads. It is also 1 if this perl is
using thread-safe locale operations. Note that an individual thread may
choose to use the global locale (generally unsafe) by calling
-C<switch_to_global_locale>. This variable currently is still
+L<perlapi/switch_to_global_locale>. This variable currently is still
set to 1 in such threads.
This variable is read-only.