K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / usr / share / perl / 5.18.2 /
server ip : 172.67.156.115

your ip : 108.162.241.18

H O M E


Filename/usr/share/perl/5.18.2/locale.pm
Size1.4 kb
Permissionrw-r--r--
Ownerroot : root
Create time27-Apr-2025 10:10
Last modified21-Nov-2018 01:29
Last accessed06-Jul-2025 08:37
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
package locale;

our $VERSION = '1.02';
use Config;

$Carp::Internal{ (__PACKAGE__) } = 1;

# 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

if(!$Config{d_setlocale}) {
## No locale support found on this Perl, giving up:
die('Your vendor does not support locales, you cannot use the locale module.');
}

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;