Server IP : 49.212.180.16 / Your IP : 3.14.249.46 Web Server : Apache System : FreeBSD www2606.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 User : utannto ( 1076) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/rs/perl/5.10/lib/perl5/5.10/ |
Upload File : |
package locale; our $VERSION = '1.00'; =head1 NAME locale - Perl pragma to use and avoid POSIX locales for built-in operations =head1 SYNOPSIS @x = sort @y; # ASCII sorting order { use locale; @x = sort @y; # Locale-defined sorting order } @x = sort @y; # ASCII sorting order again =head1 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. See L<perllocale> for more detailed information on how Perl supports locales. =cut $locale::hint_bits = 0x4; sub import { $^H |= $locale::hint_bits; } sub unimport { $^H &= ~$locale::hint_bits; } 1;