
![]() | ![]() |
8.121. I18N::Langinfo
Provides locale-specific information
for constants supported in langinfo.h.
I18N::Langinfo implements just one function,
langinfo.
langinfo |
langinfo(constant)
Returns the locale-specific data associated with the specified
constant. For example, the following
prints the date and time in the format for the current locale:
print langinfo(D_T_FMT);
![]() | ![]() | ![]() |
8.120. I18N::Collate | ![]() | 8.122. I18N::LangTags |

Copyright © 2002 O'Reilly & Associates. All rights reserved.