locale.pm
来自「视频监控网络部分的协议ddns,的模块的实现代码,请大家大胆指正.」· PM 代码 · 共 41 行
PM
41 行
package locale;our $VERSION = '1.00';=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 + -
显示快捷键?