On Thu, Sep 13, 2001 at 02:00:56AM +0200, Andrea Holstein wrote:
> I write modules for the german language.
> At the moment, I simply tell perl at the beginning
> use locale;
> 
> That run's because my Linux is a german one.
> At a french one i would'nt run any longer.
> 
> A better way could be (from the Cookbook)
> use locale;
> use POSIX 'locale_h';
> setlocale(LC_TYPE, 'de_DE.ISO_8859-1');

As far as I understand it you shouldn't be setting the locale within your
script.  Instead, you should set the relevant environment variables.  See
perldoc perllocale.

 
Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to