Movatterモバイル変換


[0]ホーム

URL:


locale
(source,CPAN)
version 1.00
You are viewing the version of this documentation from Perl 5.8.7.View the latest version

CONTENTS

#NAME

locale - Perl pragma to use and avoid POSIX locales for built-in operations

#SYNOPSIS

@x = sort @y;# ASCII sorting order{    use locale;    @x = sort @y;   # Locale-defined sorting order}@x = sort @y;# ASCII sorting order again

#DESCRIPTION

This pragma tells the compiler to enable (or disable) the use of POSIX locales for built-in operations (LC_CTYPE for regular expressions, and LC_COLLATE for string comparison). Each "use locale" or "no locale" affects statements to the end of the enclosing BLOCK.

Seeperllocale for more detailed information on how Perl supports locales.

Perldoc Browser is maintained by Dan Book (DBOOK). Please contact him via theGitHub issue tracker oremail regarding any issues with the site itself, search, or rendering of documentation.

The Perl documentation is maintained by the Perl 5 Porters in the development of Perl. Please contact them via thePerl issue tracker, themailing list, orIRC to report any issues with the contents or format of the documentation.


[8]ページ先頭

©2009-2025 Movatter.jp