Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 216.73.216.44
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
share /
perl5 /
vendor_perl /
Delete
Unzip
Name
Size
Permission
Date
Action
Bundle
[ DIR ]
drwxr-xr-x
2021-11-03 07:25
Carp
[ DIR ]
drwxr-xr-x
2021-11-01 09:20
Error
[ DIR ]
drwxr-xr-x
2022-02-05 08:35
Exporter
[ DIR ]
drwxr-xr-x
2021-11-01 09:20
File
[ DIR ]
drwxr-xr-x
2021-11-01 09:20
Getopt
[ DIR ]
drwxr-xr-x
2021-11-01 09:20
Git
[ DIR ]
drwxr-xr-x
2022-02-05 08:35
HTTP
[ DIR ]
drwxr-xr-x
2021-11-01 09:20
Net
[ DIR ]
drwxr-xr-x
2021-11-03 07:25
Pod
[ DIR ]
drwxr-xr-x
2021-11-01 09:20
RPC
[ DIR ]
drwxr-xr-x
2021-11-03 07:25
Text
[ DIR ]
drwxr-xr-x
2021-11-01 09:20
Time
[ DIR ]
drwxr-xr-x
2021-11-01 09:20
Carp.pm
19.93
KB
-rw-r--r--
2012-06-18 11:32
Error.pm
24.27
KB
-rw-r--r--
2014-06-09 20:19
Exporter.pm
18.31
KB
-rw-r--r--
2013-03-27 15:34
Git.pm
42.55
KB
-r--r--r--
2013-06-10 20:01
constant.pm
13.04
KB
-rw-r--r--
2014-06-10 02:51
newgetopt.pl
2.15
KB
-rw-r--r--
2010-07-09 12:26
parent.pm
2.83
KB
-rw-r--r--
2011-03-08 17:26
perldoc.pod
8.25
KB
-rw-r--r--
2013-01-28 03:32
Save
Rename
package parent; use strict; use vars qw($VERSION); $VERSION = '0.225'; sub import { my $class = shift; my $inheritor = caller(0); if ( @_ and $_[0] eq '-norequire' ) { shift @_; } else { for ( my @filename = @_ ) { if ( $_ eq $inheritor ) { warn "Class '$inheritor' tried to inherit from itself\n"; }; s{::|'}{/}g; require "$_.pm"; # dies if the file is not found } } { no strict 'refs'; push @{"$inheritor\::ISA"}, @_; }; }; "All your base are belong to us" __END__ =encoding utf8 =head1 NAME parent - Establish an ISA relationship with base classes at compile time =head1 SYNOPSIS package Baz; use parent qw(Foo Bar); =head1 DESCRIPTION Allows you to both load one or more modules, while setting up inheritance from those modules at the same time. Mostly similar in effect to package Baz; BEGIN { require Foo; require Bar; push @ISA, qw(Foo Bar); } By default, every base class needs to live in a file of its own. If you want to have a subclass and its parent class in the same file, you can tell C<parent> not to load any modules by using the C<-norequire> switch: package Foo; sub exclaim { "I CAN HAS PERL" } package DoesNotLoadFooBar; use parent -norequire, 'Foo', 'Bar'; # will not go looking for Foo.pm or Bar.pm This is equivalent to the following code: package Foo; sub exclaim { "I CAN HAS PERL" } package DoesNotLoadFooBar; push @DoesNotLoadFooBar::ISA, 'Foo', 'Bar'; This is also helpful for the case where a package lives within a differently named file: package MyHash; use Tie::Hash; use parent -norequire, 'Tie::StdHash'; This is equivalent to the following code: package MyHash; require Tie::Hash; push @ISA, 'Tie::StdHash'; If you want to load a subclass from a file that C<require> would not consider an eligible filename (that is, it does not end in either C<.pm> or C<.pmc>), use the following code: package MySecondPlugin; require './plugins/custom.plugin'; # contains Plugin::Custom use parent -norequire, 'Plugin::Custom'; =head1 DIAGNOSTICS =over 4 =item Class 'Foo' tried to inherit from itself Attempting to inherit from yourself generates a warning. package Foo; use parent 'Foo'; =back =head1 HISTORY This module was forked from L<base> to remove the cruft that had accumulated in it. =head1 CAVEATS =head1 SEE ALSO L<base> =head1 AUTHORS AND CONTRIBUTORS Rafaƫl Garcia-Suarez, Bart Lateur, Max Maischein, Anno Siegel, Michael Schwern =head1 MAINTAINER Max Maischein C< corion@cpan.org > Copyright (c) 2007-10 Max Maischein C<< <corion@cpan.org> >> Based on the idea of C<base.pm>, which was introduced with Perl 5.004_04. =head1 LICENSE This module is released under the same terms as Perl itself. =cut