SM0 She11
Path:
/
/
usr
/
share
/
perl5
Full Path (server): /usr/share/perl5
Create Fil3
Upl04d Fil3
📄 AnyDBM_File.pm
[E]
[D]
[R]
📁 App
Open
[D]
[R]
📁 Archive
Open
[D]
[R]
📁 Attribute
Open
[D]
[R]
📄 AutoLoader.pm
[E]
[D]
[R]
📄 AutoSplit.pm
[E]
[D]
[R]
📁 B
Open
[D]
[R]
📄 Benchmark.pm
[E]
[D]
[R]
📄 CORE.pod
[E]
[D]
[R]
📁 Class
Open
[D]
[R]
📁 Compress
Open
[D]
[R]
📁 Config
Open
[D]
[R]
📄 DB.pm
[E]
[D]
[R]
📁 DBM_Filter
Open
[D]
[R]
📄 DBM_Filter.pm
[E]
[D]
[R]
📁 Devel
Open
[D]
[R]
📄 DirHandle.pm
[E]
[D]
[R]
📄 Dumpvalue.pm
[E]
[D]
[R]
📁 Encode
Open
[D]
[R]
📄 English.pm
[E]
[D]
[R]
📁 ExtUtils
Open
[D]
[R]
📁 File
Open
[D]
[R]
📄 FileCache.pm
[E]
[D]
[R]
📄 FileHandle.pm
[E]
[D]
[R]
📁 Filter
Open
[D]
[R]
📄 FindBin.pm
[E]
[D]
[R]
📁 Getopt
Open
[D]
[R]
📁 HTTP
Open
[D]
[R]
📁 I18N
Open
[D]
[R]
📁 IO
Open
[D]
[R]
📁 IPC
Open
[D]
[R]
📁 JSON
Open
[D]
[R]
📁 LWP
Open
[D]
[R]
📄 LWP.pm
[E]
[D]
[R]
📁 Locale
Open
[D]
[R]
📁 Log
Open
[D]
[R]
📁 Math
Open
[D]
[R]
📁 Memoize
Open
[D]
[R]
📄 Memoize.pm
[E]
[D]
[R]
📁 Module
Open
[D]
[R]
📄 NEXT.pm
[E]
[D]
[R]
📁 Net
Open
[D]
[R]
📁 Package
Open
[D]
[R]
📁 Perl
Open
[D]
[R]
📁 PerlIO
Open
[D]
[R]
📄 PerlIO.pm
[E]
[D]
[R]
📁 Pod
Open
[D]
[R]
📄 Safe.pm
[E]
[D]
[R]
📁 Search
Open
[D]
[R]
📄 SelectSaver.pm
[E]
[D]
[R]
📄 SelfLoader.pm
[E]
[D]
[R]
📄 Symbol.pm
[E]
[D]
[R]
📁 Term
Open
[D]
[R]
📁 Test
Open
[D]
[R]
📄 Test.pm
[E]
[D]
[R]
📁 Text
Open
[D]
[R]
📁 Thread
Open
[D]
[R]
📄 Thread.pm
[E]
[D]
[R]
📁 Tie
Open
[D]
[R]
📁 Time
Open
[D]
[R]
📄 UNIVERSAL.pm
[E]
[D]
[R]
📁 URI
Open
[D]
[R]
📄 URI.pm
[E]
[D]
[R]
📁 Unicode
Open
[D]
[R]
📁 User
Open
[D]
[R]
📁 Version
Open
[D]
[R]
📄 XSLoader.pm
[E]
[D]
[R]
📄 _charnames.pm
[E]
[D]
[R]
📄 autouse.pm
[E]
[D]
[R]
📄 base.pm
[E]
[D]
[R]
📄 bigint.pm
[E]
[D]
[R]
📄 bignum.pm
[E]
[D]
[R]
📄 bigrat.pm
[E]
[D]
[R]
📄 blib.pm
[E]
[D]
[R]
📄 bytes.pm
[E]
[D]
[R]
📄 bytes_heavy.pl
[E]
[D]
[R]
📄 charnames.pm
[E]
[D]
[R]
📄 deprecate.pm
[E]
[D]
[R]
📄 diagnostics.pm
[E]
[D]
[R]
📄 dumpvar.pl
[E]
[D]
[R]
📁 encoding
Open
[D]
[R]
📄 feature.pm
[E]
[D]
[R]
📄 fields.pm
[E]
[D]
[R]
📄 filetest.pm
[E]
[D]
[R]
📄 if.pm
[E]
[D]
[R]
📄 integer.pm
[E]
[D]
[R]
📄 less.pm
[E]
[D]
[R]
📄 locale.pm
[E]
[D]
[R]
📄 lwpcook.pod
[E]
[D]
[R]
📄 lwptut.pod
[E]
[D]
[R]
📄 open.pm
[E]
[D]
[R]
📁 overload
Open
[D]
[R]
📄 overload.pm
[E]
[D]
[R]
📄 overloading.pm
[E]
[D]
[R]
📄 perl5db.pl
[E]
[D]
[R]
📄 perlfaq.pm
[E]
[D]
[R]
📁 pod
Open
[D]
[R]
📄 sigtrap.pm
[E]
[D]
[R]
📄 sort.pm
[E]
[D]
[R]
📄 strict.pm
[E]
[D]
[R]
📄 subs.pm
[E]
[D]
[R]
📁 unicore
Open
[D]
[R]
📄 utf8.pm
[E]
[D]
[R]
📄 utf8_heavy.pl
[E]
[D]
[R]
📄 vars.pm
[E]
[D]
[R]
📁 vendor_perl
Open
[D]
[R]
📄 vmsish.pm
[E]
[D]
[R]
📁 warnings
Open
[D]
[R]
📄 warnings.pm
[E]
[D]
[R]
Editing: vars.pm
package vars; use 5.006; our $VERSION = '1.02'; 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 (obsolete) =head1 SYNOPSIS use vars qw($frob @mung %seen); =head1 DESCRIPTION NOTE: For variables in the current package, the functionality provided by this pragma has been superseded by C<our> declarations, available in Perl v5.6.0 or later. 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
Save