|
Posted by John W. Krahn on March 10, 2008, 9:41 am
Please log in for more thread options myicq wrote:
> Do anyone have an idea about how to output day / month names
> in all known locales (for current system).
>
> This can be in array-form, or a simple list, such as
>
> Locale: Danish (DA_DK)
> man, tir, ons...
> jan, feb, mar
>
> Locale: Deutsch (DE)
> mon, die, mit
>
> Etc
>
> I can't find any information about how to list all available
> locales on the system, and query month / day names for that locale.
> Basically to iterate over all known locales.
>
> Can anyone help ?
perldoc perllocale
perldoc I18N::Langinfo
John
--
Perl isn't a toolbox, but a small machine shop where you
can special-order certain sorts of tools at low cost and
in short order. -- Larry Wall
|