summaryrefslogtreecommitdiff
path: root/pod/perllocale.pod
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-11-05 14:54:52 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1998-11-05 14:54:52 +0000
commit900bd4402602e2e9cba334ad4e50b676b90e4d13 (patch)
tree1b1a8959601de5d053785aed4ea7ce35f8646135 /pod/perllocale.pod
parenta189bff91e12f37f676ca8e82c32442607e0976b (diff)
downloadperl-900bd4402602e2e9cba334ad4e50b676b90e4d13.tar.gz
PERL_BADLANG wrongly documented.
From: ts <decoux@moulon.inra.fr> To: jhi@cc.hut.fi Subject: Re: Locale warning messages Date: Thu, 5 Nov 1998 14:34:19 +0100 (MET) Message-Id: <199811051334.OAA24863@moulon.inra.fr> and From: Ilya Zakharevich <ilya@math.ohio-state.edu> Subject: Re: PERL_BADLANG To: jhi@iki.fi Subject: Re: PERL_BADLANG Date: Thu, 5 Nov 1998 09:49:00 -0500 (EST) Message-Id: <199811051449.JAA04238@monk.mps.ohio-state.edu> p4raw-id: //depot/cfgperl@2206
Diffstat (limited to 'pod/perllocale.pod')
-rw-r--r--pod/perllocale.pod15
1 files changed, 8 insertions, 7 deletions
diff --git a/pod/perllocale.pod b/pod/perllocale.pod
index 0a85c0eb11..ba93f18edd 100644
--- a/pod/perllocale.pod
+++ b/pod/perllocale.pod
@@ -276,10 +276,10 @@ The two quickest fixes are either to render Perl silent about any
locale inconsistencies or to run Perl under the default locale "C".
Perl's moaning about locale problems can be silenced by setting the
-environment variable PERL_BADLANG to a non-zero value, for example
-"1". This method really just sweeps the problem under the carpet: you
-tell Perl to shut up even when Perl sees that something is wrong. Do
-not be surprised if later something locale-dependent misbehaves.
+environment variable PERL_BADLANG to a zero value, for example "0".
+This method really just sweeps the problem under the carpet: you tell
+Perl to shut up even when Perl sees that something is wrong. Do not
+be surprised if later something locale-dependent misbehaves.
Perl can be run under the "C" locale by setting the environment
variable LC_ALL to "C". This method is perhaps a bit more civilized
@@ -785,9 +785,10 @@ of a match involving C<\w> while C<use locale> is in effect.
A string that can suppress Perl's warning about failed locale settings
at startup. Failure can occur if the locale support in the operating
system is lacking (broken) in some way--or if you mistyped the name of
-a locale when you set up your environment. If this environment variable
-is absent, or has a value that does not evaluate to integer zero--that
-is, "0" or ""--Perl will complain about locale setting failures.
+a locale when you set up your environment. If this environment
+variable is absent, or has a value that does not evaluate to integer
+zero--that is, "0" or ""-- Perl will complain about locale setting
+failures.
B<NOTE>: PERL_BADLANG only gives you a way to hide the warning message.
The message tells about some problem in your system's locale support,