📄 locale.pm
字号:
package locale;=head1 NAMElocale - 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 DESCRIPTIONThis pragma tells the compiler to enable (or disable) the use of POSIXlocales for built-in operations (LC_CTYPE for regular expressions, andLC_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 supportslocales.=cut$locale::hint_bits = 0x4;sub import { $^H |= $locale::hint_bits;}sub unimport { $^H &= ~$locale::hint_bits;}1;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -