X7ROOT File Manager
Current Path:
/usr/share/perl5
usr
/
share
/
perl5
/
ðŸ“
..
📄
AnyDBM_File.pm
(2.56 KB)
ðŸ“
Attribute
📄
AutoLoader.pm
(15.43 KB)
📄
AutoSplit.pm
(19.18 KB)
ðŸ“
B
📄
Benchmark.pm
(30.3 KB)
📄
CORE.pod
(3.11 KB)
ðŸ“
CPAN
ðŸ“
Class
ðŸ“
Compress
ðŸ“
Config
📄
DB.pm
(18.48 KB)
ðŸ“
DBM_Filter
📄
DBM_Filter.pm
(14.05 KB)
ðŸ“
Devel
📄
DirHandle.pm
(1.52 KB)
📄
Dumpvalue.pm
(17.14 KB)
📄
English.pm
(4.65 KB)
ðŸ“
ExtUtils
ðŸ“
File
📄
FileCache.pm
(5.44 KB)
📄
FileHandle.pm
(6.63 KB)
📄
FindBin.pm
(4.45 KB)
ðŸ“
Getopt
ðŸ“
I18N
ðŸ“
IO
ðŸ“
IPC
📄
Internals.pod
(2.52 KB)
ðŸ“
Locale
ðŸ“
Math
ðŸ“
Memoize
📄
Memoize.pm
(35.34 KB)
ðŸ“
Module
📄
NEXT.pm
(18.4 KB)
ðŸ“
Net
📄
PerlIO.pm
(10.21 KB)
ðŸ“
Pod
📄
Safe.pm
(24.49 KB)
ðŸ“
Search
📄
SelectSaver.pm
(1.05 KB)
📄
SelfLoader.pm
(17.28 KB)
📄
Symbol.pm
(4.69 KB)
ðŸ“
Term
📄
Test.pm
(29.35 KB)
ðŸ“
Text
ðŸ“
Thread
📄
Thread.pm
(8.09 KB)
ðŸ“
Tie
ðŸ“
Time
📄
UNIVERSAL.pm
(6.44 KB)
ðŸ“
URI
📄
URI.pm
(33.97 KB)
ðŸ“
Unicode
ðŸ“
User
📄
XSLoader.pm
(11 KB)
📄
_charnames.pm
(32.39 KB)
📄
autouse.pm
(4.14 KB)
📄
base.pm
(10.72 KB)
📄
blib.pm
(2.04 KB)
📄
bytes.pm
(3.67 KB)
📄
bytes_heavy.pl
(758 B)
📄
charnames.pm
(20.38 KB)
📄
deprecate.pm
(3.01 KB)
📄
diagnostics.pm
(18.59 KB)
📄
dumpvar.pl
(15.19 KB)
ðŸ“
encoding
📄
feature.pm
(16.68 KB)
📄
fields.pm
(9.27 KB)
📄
filetest.pm
(3.91 KB)
📄
if.pm
(3.26 KB)
📄
integer.pm
(3.18 KB)
📄
less.pm
(3.13 KB)
📄
locale.pm
(4.74 KB)
📄
meta_notation.pm
(2.07 KB)
📄
open.pm
(7.83 KB)
ðŸ“
overload
📄
overload.pm
(52.06 KB)
📄
overloading.pm
(1.77 KB)
📄
perl5db.pl
(309 KB)
ðŸ“
pod
📄
sigtrap.pm
(7.43 KB)
📄
sort.pm
(5.94 KB)
📄
strict.pm
(4.63 KB)
📄
subs.pm
(848 B)
ðŸ“
unicore
📄
utf8.pm
(8.9 KB)
📄
utf8_heavy.pl
(30.87 KB)
📄
vars.pm
(2.36 KB)
ðŸ“
vendor_perl
📄
vmsish.pm
(4.21 KB)
ðŸ“
warnings
📄
warnings.pm
(43.71 KB)
Editing: vars.pm
package vars; use 5.006; our $VERSION = '1.03'; 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 will predeclare all the variables whose names are in the list, allowing you to use them under "use strict", and disabling any typo warnings. Unlike pragmas that affect the C<$^H> hints variable, the C<use vars> and C<use subs> declarations are not BLOCK-scoped. They are thus effective for the entire file in which they appear. You may not rescind such 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
Upload File
Create Folder