From 58e641fba50d93bcd84c0dc042b36d201958293d Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Thu, 15 Feb 2018 22:44:24 -0700 Subject: 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. --- pod/perlvar.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pod/perlvar.pod') 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. This variable currently is still +L. This variable currently is still set to 1 in such threads. This variable is read-only. -- cgit v1.2.1