SM0 She11
Path:
/
/
usr
/
share
/
perl5
Full Path (server): /usr/share/perl5
Create Fil3
Upl04d Fil3
📄 AnyDBM_File.pm
[E]
[D]
[R]
📁 App
Open
[D]
[R]
📁 Archive
Open
[D]
[R]
📁 Attribute
Open
[D]
[R]
📄 AutoLoader.pm
[E]
[D]
[R]
📄 AutoSplit.pm
[E]
[D]
[R]
📁 B
Open
[D]
[R]
📄 Benchmark.pm
[E]
[D]
[R]
📄 CORE.pod
[E]
[D]
[R]
📁 Class
Open
[D]
[R]
📁 Compress
Open
[D]
[R]
📁 Config
Open
[D]
[R]
📄 DB.pm
[E]
[D]
[R]
📁 DBM_Filter
Open
[D]
[R]
📄 DBM_Filter.pm
[E]
[D]
[R]
📁 Devel
Open
[D]
[R]
📄 DirHandle.pm
[E]
[D]
[R]
📄 Dumpvalue.pm
[E]
[D]
[R]
📁 Encode
Open
[D]
[R]
📄 English.pm
[E]
[D]
[R]
📁 ExtUtils
Open
[D]
[R]
📁 File
Open
[D]
[R]
📄 FileCache.pm
[E]
[D]
[R]
📄 FileHandle.pm
[E]
[D]
[R]
📁 Filter
Open
[D]
[R]
📄 FindBin.pm
[E]
[D]
[R]
📁 Getopt
Open
[D]
[R]
📁 HTTP
Open
[D]
[R]
📁 I18N
Open
[D]
[R]
📁 IO
Open
[D]
[R]
📁 IPC
Open
[D]
[R]
📁 JSON
Open
[D]
[R]
📁 LWP
Open
[D]
[R]
📄 LWP.pm
[E]
[D]
[R]
📁 Locale
Open
[D]
[R]
📁 Log
Open
[D]
[R]
📁 Math
Open
[D]
[R]
📁 Memoize
Open
[D]
[R]
📄 Memoize.pm
[E]
[D]
[R]
📁 Module
Open
[D]
[R]
📄 NEXT.pm
[E]
[D]
[R]
📁 Net
Open
[D]
[R]
📁 Package
Open
[D]
[R]
📁 Perl
Open
[D]
[R]
📁 PerlIO
Open
[D]
[R]
📄 PerlIO.pm
[E]
[D]
[R]
📁 Pod
Open
[D]
[R]
📄 Safe.pm
[E]
[D]
[R]
📁 Search
Open
[D]
[R]
📄 SelectSaver.pm
[E]
[D]
[R]
📄 SelfLoader.pm
[E]
[D]
[R]
📄 Symbol.pm
[E]
[D]
[R]
📁 Term
Open
[D]
[R]
📁 Test
Open
[D]
[R]
📄 Test.pm
[E]
[D]
[R]
📁 Text
Open
[D]
[R]
📁 Thread
Open
[D]
[R]
📄 Thread.pm
[E]
[D]
[R]
📁 Tie
Open
[D]
[R]
📁 Time
Open
[D]
[R]
📄 UNIVERSAL.pm
[E]
[D]
[R]
📁 URI
Open
[D]
[R]
📄 URI.pm
[E]
[D]
[R]
📁 Unicode
Open
[D]
[R]
📁 User
Open
[D]
[R]
📁 Version
Open
[D]
[R]
📄 XSLoader.pm
[E]
[D]
[R]
📄 _charnames.pm
[E]
[D]
[R]
📄 autouse.pm
[E]
[D]
[R]
📄 base.pm
[E]
[D]
[R]
📄 bigint.pm
[E]
[D]
[R]
📄 bignum.pm
[E]
[D]
[R]
📄 bigrat.pm
[E]
[D]
[R]
📄 blib.pm
[E]
[D]
[R]
📄 bytes.pm
[E]
[D]
[R]
📄 bytes_heavy.pl
[E]
[D]
[R]
📄 charnames.pm
[E]
[D]
[R]
📄 deprecate.pm
[E]
[D]
[R]
📄 diagnostics.pm
[E]
[D]
[R]
📄 dumpvar.pl
[E]
[D]
[R]
📁 encoding
Open
[D]
[R]
📄 feature.pm
[E]
[D]
[R]
📄 fields.pm
[E]
[D]
[R]
📄 filetest.pm
[E]
[D]
[R]
📄 if.pm
[E]
[D]
[R]
📄 integer.pm
[E]
[D]
[R]
📄 less.pm
[E]
[D]
[R]
📄 locale.pm
[E]
[D]
[R]
📄 lwpcook.pod
[E]
[D]
[R]
📄 lwptut.pod
[E]
[D]
[R]
📄 open.pm
[E]
[D]
[R]
📁 overload
Open
[D]
[R]
📄 overload.pm
[E]
[D]
[R]
📄 overloading.pm
[E]
[D]
[R]
📄 perl5db.pl
[E]
[D]
[R]
📄 perlfaq.pm
[E]
[D]
[R]
📁 pod
Open
[D]
[R]
📄 sigtrap.pm
[E]
[D]
[R]
📄 sort.pm
[E]
[D]
[R]
📄 strict.pm
[E]
[D]
[R]
📄 subs.pm
[E]
[D]
[R]
📁 unicore
Open
[D]
[R]
📄 utf8.pm
[E]
[D]
[R]
📄 utf8_heavy.pl
[E]
[D]
[R]
📄 vars.pm
[E]
[D]
[R]
📁 vendor_perl
Open
[D]
[R]
📄 vmsish.pm
[E]
[D]
[R]
📁 warnings
Open
[D]
[R]
📄 warnings.pm
[E]
[D]
[R]
Editing: locale.pm
package locale; our $VERSION = '1.01'; $Carp::Internal{ (__PACKAGE__) } = 1; =head1 NAME locale - Perl pragma to use or avoid POSIX locales for built-in operations =head1 SYNOPSIS @x = sort @y; # Unicode sorting order { use locale; @x = sort @y; # Locale-defined sorting order } @x = sort @y; # Unicode sorting order again =head1 DESCRIPTION This pragma tells the compiler to enable (or disable) the use of POSIX locales for built-in operations (for example, LC_CTYPE for regular expressions, LC_COLLATE for string comparison, and LC_NUMERIC for number formatting). Each "use locale" or "no locale" affects statements to the end of the enclosing BLOCK. Starting in Perl 5.16, a hybrid mode for this pragma is available, use locale ':not_characters'; which enables only the portions of locales that don't affect the character set (that is, all except LC_COLLATE and LC_CTYPE). This is useful when mixing Unicode and locales, including UTF-8 locales. use locale ':not_characters'; use open ":locale"; # Convert I/O to/from Unicode use POSIX qw(locale_h); # Import the LC_ALL constant setlocale(LC_ALL, ""); # Required for the next statement # to take effect printf "%.2f\n", 12345.67' # Locale-defined formatting @x = sort @y; # Unicode-defined sorting order. # (Note that you will get better # results using Unicode::Collate.) See L<perllocale> for more detailed information on how Perl supports locales. =cut # A separate bit is used for each of the two forms of the pragma, as they are # mostly independent, and interact with each other and the unicode_strings # feature. This allows for fast determination of which one(s) of the three # are to be used at any given point, and no code has to be written to deal # with coming in and out of scopes--it falls automatically out from the hint # handling $locale::hint_bits = 0x4; $locale::not_chars_hint_bits = 0x10; sub import { shift; # should be 'locale'; not checked my $found_not_chars = 0; while (defined (my $arg = shift)) { if ($arg eq ":not_characters") { $^H |= $locale::not_chars_hint_bits; # This form of the pragma overrides the other $^H &= ~$locale::hint_bits; $found_not_chars = 1; } else { require Carp; Carp::croak("Unknown parameter '$arg' to 'use locale'"); } } # Use the plain form if not doing the :not_characters one. $^H |= $locale::hint_bits unless $found_not_chars; } sub unimport { $^H &= ~($locale::hint_bits|$locale::not_chars_hint_bits); } 1;
Save