OXIESEC PANEL
- Current Dir:
/
/
usr
/
share
/
perl5
Server IP: 2a02:4780:11:1594:0:ef5:22d7:a
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
11/12/2025 04:23:16 PM
rwxr-xr-x
📄
AnyDBM_File.pm
2.56 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
AutoLoader.pm
15.43 KB
04/03/2024 02:39:02 PM
rw-r--r--
📁
B
-
05/14/2024 03:10:02 PM
rwxr-xr-x
📄
CORE.pod
3.11 KB
04/03/2024 02:35:12 PM
rw-r--r--
📁
Class
-
05/14/2024 03:09:04 PM
rwxr-xr-x
📁
File
-
05/14/2024 03:54:45 PM
rwxr-xr-x
📄
FileHandle.pm
6.63 KB
04/03/2024 02:39:02 PM
rw-r--r--
📁
Getopt
-
05/14/2024 03:10:02 PM
rwxr-xr-x
📁
IPC
-
05/14/2024 03:09:04 PM
rwxr-xr-x
📄
Internals.pod
2.51 KB
04/03/2024 02:35:12 PM
rw-r--r--
📁
Math
-
05/14/2024 03:38:06 PM
rwxr-xr-x
📄
PerlIO.pm
14.1 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
SelectSaver.pm
1.05 KB
04/03/2024 02:39:02 PM
rw-r--r--
📄
Symbol.pm
4.69 KB
04/03/2024 02:39:02 PM
rw-r--r--
📁
Tie
-
05/14/2024 03:09:04 PM
rwxr-xr-x
📄
UNIVERSAL.pm
6.44 KB
04/03/2024 02:35:12 PM
rw-r--r--
📁
URI
-
05/14/2024 12:06:27 PM
rwxr-xr-x
📄
URI.pm
34.13 KB
03/03/2021 03:16:52 PM
rw-r--r--
📄
XSLoader.pm
10.99 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
_charnames.pm
33.35 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
base.pm
10.7 KB
04/03/2024 02:39:02 PM
rw-r--r--
📄
bytes.pm
3.65 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
bytes_heavy.pl
758 bytes
04/03/2024 02:35:12 PM
rw-r--r--
📄
charnames.pm
20.44 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
feature.pm
18.56 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
if.pm
3.53 KB
04/03/2024 02:39:02 PM
rw-r--r--
📄
integer.pm
3.18 KB
04/03/2024 02:35:12 PM
rw-r--r--
📁
overload
-
05/14/2024 03:09:04 PM
rwxr-xr-x
📄
overload.pm
52.05 KB
04/03/2024 02:39:02 PM
rw-r--r--
📄
overloading.pm
1.77 KB
04/03/2024 02:39:02 PM
rw-r--r--
📁
pod
-
05/14/2024 03:09:04 PM
rwxr-xr-x
📄
strict.pm
4.63 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
subs.pm
901 bytes
04/03/2024 02:39:02 PM
rw-r--r--
📁
unicore
-
05/14/2024 03:09:04 PM
rwxr-xr-x
📄
utf8.pm
10.18 KB
04/03/2024 02:35:12 PM
rw-r--r--
📄
vars.pm
2.4 KB
04/03/2024 02:39:02 PM
rw-r--r--
📁
vendor_perl
-
02/13/2025 09:24:57 PM
rwxr-xr-x
📁
warnings
-
05/14/2024 03:09:04 PM
rwxr-xr-x
📄
warnings.pm
49.35 KB
04/03/2024 02:35:12 PM
rw-r--r--
Editing: vars.pm
Close
package vars; use 5.006; our $VERSION = '1.05'; use warnings::register; use strict qw(vars subs); sub import { my $callpack = caller; my (undef, @imports) = @_; my ($sym, $ch); foreach (@imports) { if (($ch, $sym) = /^([\$\@\%\*\&])(.+)/) { if ($sym =~ /\W/) { # time for a more-detailed check-up if ($sym =~ /^\w+[[{].*[]}]$/) { require Carp; Carp::croak("Can't declare individual elements of hash or array"); } elsif (warnings::enabled() and length($sym) == 1 and $sym !~ tr/a-zA-Z//) { warnings::warn("No need to declare built-in vars"); } elsif (($^H & strict::bits('vars'))) { require Carp; Carp::croak("'$_' is not a valid variable name under strict vars"); } } $sym = "${callpack}::$sym" unless $sym =~ /::/; *$sym = ( $ch eq "\$" ? \$$sym : $ch eq "\@" ? \@$sym : $ch eq "\%" ? \%$sym : $ch eq "\*" ? \*$sym : $ch eq "\&" ? \&$sym : do { require Carp; Carp::croak("'$_' is not a valid variable name"); }); } else { require Carp; Carp::croak("'$_' is not a valid variable name"); } } }; 1; __END__ =head1 NAME vars - Perl pragma to predeclare global variable names =head1 SYNOPSIS use vars qw($frob @mung %seen); =head1 DESCRIPTION NOTE: For use with variables in the current package for a single scope, the functionality provided by this pragma has been superseded by C<our> declarations, available in Perl v5.6.0 or later, and use of this pragma is discouraged. See L<perlfunc/our>. This pragma will predeclare all the variables whose names are in the list, allowing you to use them under C<use strict>, and disabling any typo warnings for them. Unlike pragmas that affect the C<$^H> hints variable, the C<use vars> and C<use subs> declarations are not lexically scoped to the block they appear in: they affect the entire package in which they appear. It is not possible to rescind these declarations with C<no vars> or C<no subs>. Packages such as the B<AutoLoader> and B<SelfLoader> that delay loading of subroutines within packages can create problems with package lexicals defined using C<my()>. While the B<vars> pragma cannot duplicate the effect of package lexicals (total transparency outside of the package), it can act as an acceptable substitute by pre-declaring global symbols, ensuring their availability to the later-loaded routines. See L<perlmodlib/Pragmatic Modules>. =cut