From: Jarkko Hietaniemi Date: Thu, 5 Nov 1998 14:54:52 +0000 (+0000) Subject: PERL_BADLANG wrongly documented. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=900bd4402602e2e9cba334ad4e50b676b90e4d13;p=p5sagit%2Fp5-mst-13.2.git PERL_BADLANG wrongly documented. From: ts 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 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 --- diff --git a/pod/perllocale.pod b/pod/perllocale.pod index 0a85c0e..ba93f18 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 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: PERL_BADLANG only gives you a way to hide the warning message. The message tells about some problem in your system's locale support,