OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
perl
/
5.26.1
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/21/2019 03:49:15 PM
rwxr-xr-x
📄
AnyDBM_File.pm
2.56 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
App
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
Archive
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
Attribute
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
AutoLoader.pm
5.36 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
AutoSplit.pm
19.18 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
B
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
Benchmark.pm
30.3 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
CORE.pod
3.11 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
CPAN
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
CPAN.pm
138.12 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
Carp
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
Carp.pm
19.68 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
Class
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
Compress
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
Config
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
DB.pm
18.48 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
DBM_Filter
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
DBM_Filter.pm
14.05 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
Devel
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
Digest
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
Digest.pm
10.45 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
DirHandle.pm
1.52 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
Dumpvalue.pm
17.14 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
Encode
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
English.pm
4.65 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
Env.pm
5.39 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
Exporter
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
Exporter.pm
2.31 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
ExtUtils
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
Fatal.pm
56.91 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
File
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
FileCache.pm
5.44 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
FileHandle.pm
2.06 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
Filter
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
FindBin.pm
4.45 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
Getopt
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
HTTP
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
I18N
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
IO
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
IPC
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
Internals.pod
2.52 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
JSON
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
Locale
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
Math
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
Memoize
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
Memoize.pm
35.34 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
Module
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
NEXT.pm
18.4 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
Net
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
Params
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
Parse
-
10/21/2019 03:49:15 PM
rwxr-xr-x
📁
Perl
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
PerlIO
-
10/21/2019 03:49:15 PM
rwxr-xr-x
📄
PerlIO.pm
10.21 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
Pod
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
Safe.pm
24.49 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
Search
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
SelectSaver.pm
344 bytes
05/23/2023 05:17:19 PM
rw-r--r--
📄
SelfLoader.pm
17.28 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
Symbol.pm
2.05 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
TAP
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
Term
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
Test
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
Test.pm
29.35 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
Test2
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
Test2.pm
6.24 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
Text
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
Thread
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
Thread.pm
8.09 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
Tie
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
Time
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
UNIVERSAL.pm
6.44 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
Unicode
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📁
User
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
XSLoader.pm
3.83 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
_charnames.pm
32.39 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
autodie
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
autodie.pm
12.58 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
autouse.pm
4.14 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
base.pm
8.72 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
bigint.pm
22.85 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
bignum.pm
20.64 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
bigrat.pm
15.78 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
blib.pm
2.04 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
bytes.pm
447 bytes
05/23/2023 05:17:19 PM
rw-r--r--
📄
bytes_heavy.pl
758 bytes
05/23/2023 05:17:19 PM
rw-r--r--
📄
charnames.pm
20.38 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
constant.pm
5.6 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
deprecate.pm
3.43 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
diagnostics.pm
18.59 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
dumpvar.pl
15.19 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
encoding
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
experimental.pm
5.66 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
feature.pm
4.39 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
fields.pm
4.9 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
filetest.pm
3.91 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
if.pm
3.26 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
integer.pm
172 bytes
05/23/2023 05:17:19 PM
rw-r--r--
📄
less.pm
3.13 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
locale.pm
3.34 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
meta_notation.pm
2.07 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
ok.pm
967 bytes
05/23/2023 05:17:19 PM
rw-r--r--
📄
open.pm
7.83 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
overload
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
overload.pm
4.34 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
overloading.pm
964 bytes
05/23/2023 05:17:19 PM
rw-r--r--
📄
parent.pm
478 bytes
05/23/2023 05:17:19 PM
rw-r--r--
📄
perl5db.pl
309.01 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
perlfaq.pm
78 bytes
05/23/2023 05:17:19 PM
rw-r--r--
📁
pod
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
sigtrap.pm
7.43 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
sort.pm
5.94 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
strict.pm
1.57 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
subs.pm
848 bytes
05/23/2023 05:17:19 PM
rw-r--r--
📁
unicore
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
utf8.pm
342 bytes
05/23/2023 05:17:19 PM
rw-r--r--
📄
utf8_heavy.pl
30.87 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
vars.pm
1.12 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
version
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
version.pm
1.67 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
version.pod
9.63 KB
05/23/2023 05:17:19 PM
rw-r--r--
📄
vmsish.pm
4.21 KB
05/23/2023 05:17:19 PM
rw-r--r--
📁
warnings
-
05/09/2024 07:13:15 AM
rwxr-xr-x
📄
warnings.pm
21.44 KB
05/23/2023 05:17:19 PM
rw-r--r--
Editing: fields.pm
Close
use 5.008; package fields; require 5.005; use strict; no strict 'refs'; unless( eval q{require warnings::register; warnings::register->import; 1} ) { *warnings::warnif = sub { require Carp; Carp::carp(@_); } } use vars qw(%attr $VERSION); $VERSION = '2.23'; $VERSION =~ tr/_//d; # constant.pm is slow sub PUBLIC () { 2**0 } sub PRIVATE () { 2**1 } sub INHERITED () { 2**2 } sub PROTECTED () { 2**3 } # The %attr hash holds the attributes of the currently assigned fields # per class. The hash is indexed by class names and the hash value is # an array reference. The first element in the array is the lowest field # number not belonging to a base class. The remaining elements' indices # are the field numbers. The values are integer bit masks, or undef # in the case of base class private fields (which occupy a slot but are # otherwise irrelevant to the class). sub import { my $class = shift; return unless @_; my $package = caller(0); # avoid possible typo warnings %{"$package\::FIELDS"} = () unless %{"$package\::FIELDS"}; my $fields = \%{"$package\::FIELDS"}; my $fattr = ($attr{$package} ||= [1]); my $next = @$fattr; # Quiet pseudo-hash deprecation warning for uses of fields::new. bless \%{"$package\::FIELDS"}, 'pseudohash'; if ($next > $fattr->[0] and ($fields->{$_[0]} || 0) >= $fattr->[0]) { # There are already fields not belonging to base classes. # Looks like a possible module reload... $next = $fattr->[0]; } foreach my $f (@_) { my $fno = $fields->{$f}; # Allow the module to be reloaded so long as field positions # have not changed. if ($fno and $fno != $next) { require Carp; if ($fno < $fattr->[0]) { if ($] < 5.006001) { warn("Hides field '$f' in base class") if $^W; } else { warnings::warnif("Hides field '$f' in base class") ; } } else { Carp::croak("Field name '$f' already in use"); } } $fields->{$f} = $next; $fattr->[$next] = ($f =~ /^_/) ? PRIVATE : PUBLIC; $next += 1; } if (@$fattr > $next) { # Well, we gave them the benefit of the doubt by guessing the # module was reloaded, but they appear to be declaring fields # in more than one place. We can't be sure (without some extra # bookkeeping) that the rest of the fields will be declared or # have the same positions, so punt. require Carp; Carp::croak ("Reloaded module must declare all fields at once"); } } sub inherit { require base; goto &base::inherit_fields; } sub _dump # sometimes useful for debugging { for my $pkg (sort keys %attr) { print "\n$pkg"; if (@{"$pkg\::ISA"}) { print " (", join(", ", @{"$pkg\::ISA"}), ")"; } print "\n"; my $fields = \%{"$pkg\::FIELDS"}; for my $f (sort {$fields->{$a} <=> $fields->{$b}} keys %$fields) { my $no = $fields->{$f}; print " $no: $f"; my $fattr = $attr{$pkg}[$no]; if (defined $fattr) { my @a; push(@a, "public") if $fattr & PUBLIC; push(@a, "private") if $fattr & PRIVATE; push(@a, "inherited") if $fattr & INHERITED; print "\t(", join(", ", @a), ")"; } print "\n"; } } } if ($] < 5.009) { *new = sub { my $class = shift; $class = ref $class if ref $class; return bless [\%{$class . "::FIELDS"}], $class; } } else { *new = sub { my $class = shift; $class = ref $class if ref $class; require Hash::Util; my $self = bless {}, $class; # The lock_keys() prototype won't work since we require Hash::Util :( &Hash::Util::lock_keys(\%$self, _accessible_keys($class)); return $self; } } sub _accessible_keys { my ($class) = @_; return ( keys %{$class.'::FIELDS'}, map(_accessible_keys($_), @{$class.'::ISA'}), ); } sub phash { die "Pseudo-hashes have been removed from Perl" if $] >= 5.009; my $h; my $v; if (@_) { if (ref $_[0] eq 'ARRAY') { my $a = shift; @$h{@$a} = 1 .. @$a; if (@_) { $v = shift; unless (! @_ and ref $v eq 'ARRAY') { require Carp; Carp::croak ("Expected at most two array refs\n"); } } } else { if (@_ % 2) { require Carp; Carp::croak ("Odd number of elements initializing pseudo-hash\n"); } my $i = 0; @$h{grep ++$i % 2, @_} = 1 .. @_ / 2; $i = 0; $v = [grep $i++ % 2, @_]; } } else { $h = {}; $v = []; } [ $h, @$v ]; } 1; __END__