locale.pm
来自「MSYS在windows下模拟了一个类unix的终端」· PM 代码 · 共 39 行
PM
39 行
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 + =
减小字号Ctrl + -
显示快捷键?