|
|
sybperl-l Archive
Up Prev Next
From: Michael Peppler <mpeppler at MBAY dot NET>
Subject: Re: setlocale(LC_CTYPE, "") failed.
Date: Nov 12 1997 4:11PM
David Roboam wrote:
>
> Every time I call perl I have those warnings:
>
> bilbo 1% perl -v
> warning: setlocale(LC_CTYPE, "") failed.
> warning: LC_ALL = "(null)", LC_CTYPE = "(null)", LANG = "us",
> warning: falling back to the "C" locale.
>
> This is perl, version 5.002
>
> Copyright 1987-1996, Larry Wall
>
> Perl may be copied only under the terms of either the Artistic License
> or the
> GNU General Public License, which may be found in the Perl 5.0 source
> kit.
>
> bilbo 2%
>
> Where can it come from ?
Something's going on with the locale / setlocale() calls when
perl starts up.
I don't think that it is perl proper, but rather some startup code
that perl calls (either explicitly or not).
Try setting
LANG=C
in your environement and see what happens.
Michael
--
Michael Peppler -||- Data Migrations Inc.
mpeppler@datamig.com -||- http://www.mbay.net/~mpeppler
|