develooper Front page | perl.perl5.porters | Postings from February 2003

Re: Odd Locale warnings with bleadperl

Thread Previous | Thread Next
Rafael Garcia-Suarez
February 23, 2003 06:50
Re: Odd Locale warnings with bleadperl
Message ID:
Abe Timmerman wrote:
> In order to provide a uniform environment for the testsuite during smoke, 
> $ENV{LC_ALL} is localised for the "make test" phase in "", so it is 
> empty (I hadn't realised that):
> 	~$ perl -wle 'local $ENV{LC_ALL}; print qx/set | grep LC_ALL/'
> 	LC_ALL=
> Perhaps I need to change the implementation for that and set its localised 
> value to "C"?
> Any thoughts?

Are you referring to this line :

I think it's better to initialize them at their previous values.
This allow to set LC_ALL (for example) to some weird locale (Bulgarian
for example -- grep Changes5.8 for "Bulgarian" if you don't get it)
before running the smoke. (apparently the --locale option is for
another purpose)

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About