$97 GRAYBYTE WORDPRESS FILE MANAGER $68

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/usr/share/perl5/

HOME
Current File : /usr/share/perl5//strict.pm
package strict;

$strict::VERSION = "1.11";

my ( %bitmask, %explicit_bitmask );

BEGIN {
    # Verify that we're called correctly so that strictures will work.
    # Can't use Carp, since Carp uses us!
    # see also warnings.pm.
    die sprintf "Incorrect use of pragma '%s' at %s line %d.\n", __PACKAGE__, +(caller)[1,2]
        if __FILE__ !~ ( '(?x) \b     '.__PACKAGE__.'  \.pmc? \z' )
        && __FILE__ =~ ( '(?x) \b (?i:'.__PACKAGE__.') \.pmc? \z' );

    %bitmask = (
        refs => 0x00000002,
        subs => 0x00000200,
        vars => 0x00000400,
    );

    %explicit_bitmask = (
        refs => 0x00000020,
        subs => 0x00000040,
        vars => 0x00000080,
    );

    my $bits = 0;
    $bits |= $_ for values %bitmask;

    my $inline_all_bits = $bits;
    *all_bits = sub () { $inline_all_bits };

    $bits = 0;
    $bits |= $_ for values %explicit_bitmask;

    my $inline_all_explicit_bits = $bits;
    *all_explicit_bits = sub () { $inline_all_explicit_bits };
}

sub bits {
    my $bits = 0;
    my @wrong;
    foreach my $s (@_) {
        if (exists $bitmask{$s}) {
            $^H |= $explicit_bitmask{$s};

            $bits |= $bitmask{$s};
        }
        else {
            push @wrong, $s;
        }
    }
    if (@wrong) {
        require Carp;
        Carp::croak("Unknown 'strict' tag(s) '@wrong'");
    }
    $bits;
}

sub import {
    shift;
    $^H |= @_ ? &bits : all_bits | all_explicit_bits;
}

sub unimport {
    shift;

    if (@_) {
        $^H &= ~&bits;
    }
    else {
        $^H &= ~all_bits;
        $^H |= all_explicit_bits;
    }
}

1;
__END__

=head1 NAME

strict - Perl pragma to restrict unsafe constructs

=head1 SYNOPSIS

    use strict;

    use strict "vars";
    use strict "refs";
    use strict "subs";

    use strict;
    no strict "vars";

=head1 DESCRIPTION

The C<strict> pragma disables certain Perl expressions that could behave
unexpectedly or are difficult to debug, turning them into errors. The
effect of this pragma is limited to the current file or scope block.

If no import list is supplied, all possible restrictions are assumed.
(This is the safest mode to operate in, but is sometimes too strict for
casual programming.)  Currently, there are three possible things to be
strict about:  "subs", "vars", and "refs".

=over 6

=item C<strict refs>

This generates a runtime error if you 
use symbolic references (see L<perlref>).

    use strict 'refs';
    $ref = \$foo;
    print $$ref;	# ok
    $ref = "foo";
    print $$ref;	# runtime error; normally ok
    $file = "STDOUT";
    print $file "Hi!";	# error; note: no comma after $file

There is one exception to this rule:

    $bar = \&{'foo'};
    &$bar;

is allowed so that C<goto &$AUTOLOAD> would not break under stricture.


=item C<strict vars>

This generates a compile-time error if you access a variable that was
neither explicitly declared (using any of C<my>, C<our>, C<state>, or C<use
vars>) nor fully qualified.  (Because this is to avoid variable suicide
problems and subtle dynamic scoping issues, a merely C<local> variable isn't
good enough.)  See L<perlfunc/my>, L<perlfunc/our>, L<perlfunc/state>,
L<perlfunc/local>, and L<vars>.

    use strict 'vars';
    $X::foo = 1;	 # ok, fully qualified
    my $foo = 10;	 # ok, my() var
    local $baz = 9;	 # blows up, $baz not declared before

    package Cinna;
    our $bar;			# Declares $bar in current package
    $bar = 'HgS';		# ok, global declared via pragma

The local() generated a compile-time error because you just touched a global
name without fully qualifying it.

Because of their special use by sort(), the variables $a and $b are
exempted from this check.

=item C<strict subs>

This disables the poetry optimization, generating a compile-time error if
you try to use a bareword identifier that's not a subroutine, unless it
is a simple identifier (no colons) and that it appears in curly braces or
on the left hand side of the C<< => >> symbol.

    use strict 'subs';
    $SIG{PIPE} = Plumber;   # blows up
    $SIG{PIPE} = "Plumber"; # fine: quoted string is always ok
    $SIG{PIPE} = \&Plumber; # preferred form

=back

See L<perlmodlib/Pragmatic Modules>.

=head1 HISTORY

C<strict 'subs'>, with Perl 5.6.1, erroneously permitted to use an unquoted
compound identifier (e.g. C<Foo::Bar>) as a hash key (before C<< => >> or
inside curlies), but without forcing it always to a literal string.

Starting with Perl 5.8.1 strict is strict about its restrictions:
if unknown restrictions are used, the strict pragma will abort with

    Unknown 'strict' tag(s) '...'

As of version 1.04 (Perl 5.10), strict verifies that it is used as
"strict" to avoid the dreaded Strict trap on case insensitive file
systems.

=cut

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
16 Mar 2026 5.03 PM
root / root
0755
Attribute
--
14 Aug 2025 9.24 PM
root / root
0755
B
--
14 Aug 2025 9.24 PM
root / root
0755
CPAN
--
30 Aug 2024 10.28 PM
root / root
0755
Class
--
14 Aug 2025 9.24 PM
root / root
0755
Compress
--
31 Aug 2024 4.31 AM
root / root
0755
Config
--
14 Aug 2025 9.24 PM
root / root
0755
DBM_Filter
--
14 Aug 2025 9.24 PM
root / root
0755
Devel
--
14 Aug 2025 9.24 PM
root / root
0755
ExtUtils
--
14 Aug 2025 9.24 PM
root / root
0755
File
--
14 Aug 2025 9.24 PM
root / root
0755
Getopt
--
14 Aug 2025 9.24 PM
root / root
0755
I18N
--
14 Aug 2025 9.24 PM
root / root
0755
IO
--
14 Aug 2025 9.24 PM
root / root
0755
IPC
--
14 Aug 2025 9.24 PM
root / root
0755
Locale
--
28 Jul 2025 3.08 PM
root / root
0755
Math
--
14 Aug 2025 9.24 PM
root / root
0755
Memoize
--
14 Aug 2025 9.24 PM
root / root
0755
Module
--
14 Aug 2025 9.24 PM
root / root
0755
Net
--
14 Aug 2025 9.24 PM
root / root
0755
Pod
--
14 Aug 2025 9.24 PM
root / root
0755
Search
--
14 Aug 2025 9.24 PM
root / root
0755
Term
--
14 Aug 2025 9.24 PM
root / root
0755
Text
--
14 Aug 2025 9.24 PM
root / root
0755
Thread
--
14 Aug 2025 9.24 PM
root / root
0755
Tie
--
14 Aug 2025 9.24 PM
root / root
0755
Time
--
14 Aug 2025 9.24 PM
root / root
0755
URI
--
31 Aug 2024 4.31 AM
root / root
0755
Unicode
--
14 Aug 2025 9.24 PM
root / root
0755
User
--
14 Aug 2025 9.24 PM
root / root
0755
encoding
--
14 Aug 2025 9.24 PM
root / root
0755
overload
--
14 Aug 2025 9.24 PM
root / root
0755
pod
--
14 Aug 2025 9.24 PM
root / root
0755
unicore
--
14 Aug 2025 9.24 PM
root / root
0755
vendor_perl
--
14 Aug 2025 9.25 PM
root / root
0755
warnings
--
14 Aug 2025 9.24 PM
root / root
0755
AnyDBM_File.pm
2.557 KB
28 Jul 2025 3.07 PM
root / root
0644
AutoLoader.pm
15.427 KB
28 Jul 2025 3.07 PM
root / root
0644
AutoSplit.pm
19.177 KB
28 Jul 2025 3.07 PM
root / root
0644
Benchmark.pm
30.298 KB
28 Jul 2025 3.07 PM
root / root
0644
CORE.pod
3.113 KB
28 Jul 2025 3.07 PM
root / root
0644
DB.pm
18.479 KB
28 Jul 2025 3.07 PM
root / root
0644
DBM_Filter.pm
14.048 KB
28 Jul 2025 3.07 PM
root / root
0644
DirHandle.pm
1.52 KB
28 Jul 2025 3.07 PM
root / root
0644
Dumpvalue.pm
17.145 KB
28 Jul 2025 3.07 PM
root / root
0644
English.pm
4.649 KB
28 Jul 2025 3.07 PM
root / root
0644
FileCache.pm
5.441 KB
28 Jul 2025 3.07 PM
root / root
0644
FileHandle.pm
6.625 KB
28 Jul 2025 3.07 PM
root / root
0644
FindBin.pm
4.454 KB
28 Jul 2025 3.07 PM
root / root
0644
Internals.pod
2.516 KB
28 Jul 2025 3.07 PM
root / root
0644
Memoize.pm
35.344 KB
28 Jul 2025 3.08 PM
root / root
0644
NEXT.pm
18.404 KB
28 Jul 2025 3.07 PM
root / root
0644
PerlIO.pm
10.214 KB
28 Jul 2025 3.07 PM
root / root
0644
Safe.pm
24.494 KB
28 Jul 2025 3.07 PM
root / root
0644
SelectSaver.pm
1.051 KB
28 Jul 2025 3.07 PM
root / root
0644
SelfLoader.pm
17.277 KB
28 Jul 2025 3.08 PM
root / root
0644
Symbol.pm
4.687 KB
28 Jul 2025 3.07 PM
root / root
0644
Test.pm
29.353 KB
28 Jul 2025 3.08 PM
root / root
0644
Thread.pm
8.093 KB
28 Jul 2025 3.07 PM
root / root
0644
UNIVERSAL.pm
6.439 KB
28 Jul 2025 3.07 PM
root / root
0644
URI.pm
33.975 KB
9 Jan 2018 1.42 PM
root / root
0644
XSLoader.pm
11.003 KB
28 Jul 2025 3.07 PM
root / root
0644
_charnames.pm
32.389 KB
28 Jul 2025 3.07 PM
root / root
0644
autouse.pm
4.139 KB
28 Jul 2025 3.07 PM
root / root
0644
base.pm
10.723 KB
28 Jul 2025 3.07 PM
root / root
0644
blib.pm
2.037 KB
28 Jul 2025 3.07 PM
root / root
0644
bytes.pm
3.666 KB
28 Jul 2025 3.07 PM
root / root
0644
bytes_heavy.pl
0.74 KB
28 Jul 2025 3.07 PM
root / root
0644
charnames.pm
20.378 KB
28 Jul 2025 3.07 PM
root / root
0644
deprecate.pm
3.007 KB
28 Jul 2025 3.07 PM
root / root
0644
diagnostics.pm
18.592 KB
28 Jul 2025 3.07 PM
root / root
0644
dumpvar.pl
15.19 KB
28 Jul 2025 3.07 PM
root / root
0644
feature.pm
16.685 KB
28 Jul 2025 3.07 PM
root / root
0644
fields.pm
9.267 KB
28 Jul 2025 3.07 PM
root / root
0644
filetest.pm
3.909 KB
28 Jul 2025 3.07 PM
root / root
0644
if.pm
3.262 KB
28 Jul 2025 3.07 PM
root / root
0644
integer.pm
3.178 KB
28 Jul 2025 3.07 PM
root / root
0644
less.pm
3.129 KB
28 Jul 2025 3.07 PM
root / root
0644
locale.pm
4.741 KB
28 Jul 2025 3.07 PM
root / root
0644
meta_notation.pm
2.067 KB
28 Jul 2025 3.07 PM
root / root
0644
open.pm
7.833 KB
28 Jul 2025 3.08 PM
root / root
0644
overload.pm
52.064 KB
28 Jul 2025 3.07 PM
root / root
0644
overloading.pm
1.766 KB
28 Jul 2025 3.07 PM
root / root
0644
perl5db.pl
309.004 KB
28 Jul 2025 3.07 PM
root / root
0644
sigtrap.pm
7.428 KB
28 Jul 2025 3.07 PM
root / root
0644
sort.pm
5.938 KB
28 Jul 2025 3.07 PM
root / root
0644
strict.pm
4.627 KB
28 Jul 2025 3.07 PM
root / root
0644
subs.pm
0.828 KB
28 Jul 2025 3.07 PM
root / root
0644
utf8.pm
8.902 KB
28 Jul 2025 3.07 PM
root / root
0644
utf8_heavy.pl
30.874 KB
28 Jul 2025 3.07 PM
root / root
0644
vars.pm
2.357 KB
28 Jul 2025 3.07 PM
root / root
0644
vmsish.pm
4.212 KB
28 Jul 2025 3.07 PM
root / root
0644
warnings.pm
43.707 KB
28 Jul 2025 3.07 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF