Re: Set locales independent of OS-System

2001-09-13 Thread Michael Fowler
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 (

Set locales independent of OS-System

2001-09-12 Thread Andrea Holstein
Hi, 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_