Linux r-1tbfree-gecko-e8ip2zsa-2f967-wvg4t 6.12.63-84.121.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 31 02:07:30 UTC 2025 x86_64
PHP/8.5.2 (Development Server)
: | : 10.16.21.217
Cant Read [ /etc/named.conf ]
8.5.2
root
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
README
+ Create Folder
+ Create File
/
usr /
share /
perl /
5.40.1 /
Test2 /
Compare /
[ HOME SHELL ]
Name
Size
Permission
Action
Array.pm
8.06
KB
-rw-r--r--
Bag.pm
5.41
KB
-rw-r--r--
Base.pm
5.61
KB
-rw-r--r--
Bool.pm
1.82
KB
-rw-r--r--
Custom.pm
3.4
KB
-rw-r--r--
DeepRef.pm
1.94
KB
-rw-r--r--
Delta.pm
13.73
KB
-rw-r--r--
Event.pm
1.32
KB
-rw-r--r--
EventMeta.pm
1.62
KB
-rw-r--r--
Float.pm
3.98
KB
-rw-r--r--
Hash.pm
5.75
KB
-rw-r--r--
Isa.pm
1.65
KB
-rw-r--r--
Meta.pm
3.44
KB
-rw-r--r--
Negatable.pm
2.2
KB
-rw-r--r--
Number.pm
3.11
KB
-rw-r--r--
Object.pm
6.08
KB
-rw-r--r--
OrderedSubset.pm
3.39
KB
-rw-r--r--
Pattern.pm
1.67
KB
-rw-r--r--
Ref.pm
1.92
KB
-rw-r--r--
Regex.pm
1.52
KB
-rw-r--r--
Scalar.pm
2
KB
-rw-r--r--
Set.pm
2.91
KB
-rw-r--r--
String.pm
1.79
KB
-rw-r--r--
Undef.pm
1.27
KB
-rw-r--r--
Wildcard.pm
1.13
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Scalar.pm
package Test2::Compare::Scalar; use strict; use warnings; use base 'Test2::Compare::Base'; our $VERSION = '0.000162'; use Test2::Util::HashBase qw/item/; use Carp qw/croak confess/; use Scalar::Util qw/reftype blessed/; sub init { my $self = shift; croak "'item' is a required attribute" unless defined $self->{+ITEM}; $self->SUPER::init(); } sub name { '<SCALAR>' } sub operator { '${...}' } sub verify { my $self = shift; my %params = @_; my ($got, $exists) = @params{qw/got exists/}; return 0 unless $exists; return 0 unless defined $got; return 0 unless ref($got); return 0 unless reftype($got) eq 'SCALAR' || reftype($got) eq 'VSTRING'; return 1; } sub deltas { my $self = shift; my %params = @_; my ($got, $convert, $seen) = @params{qw/got convert seen/}; my $item = $self->{+ITEM}; my $check = $convert->($item); return ( $check->run( id => ['SCALAR' => '$*'], got => $$got, convert => $convert, seen => $seen, exists => 1, ), ); } 1; __END__ =pod =encoding UTF-8 =head1 NAME Test2::Compare::Scalar - Representation of a Scalar Ref in deep comparisons =head1 DESCRIPTION This is used in deep comparisons to represent a scalar reference. =head1 SYNOPSIS my $sr = Test2::Compare::Scalar->new(item => 'foo'); is([\'foo'], $sr, "pass"); is([\'bar'], $sr, "fail, different value"); is(['foo'], $sr, "fail, not a ref"); =head1 SOURCE The source code repository for Test2-Suite can be found at F<https://github.com/Test-More/Test2-Suite/>. =head1 MAINTAINERS =over 4 =item Chad Granum E<lt>exodist@cpan.orgE<gt> =back =head1 AUTHORS =over 4 =item Chad Granum E<lt>exodist@cpan.orgE<gt> =back =head1 COPYRIGHT Copyright 2018 Chad Granum E<lt>exodist@cpan.orgE<gt>. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See F<http://dev.perl.org/licenses/> =cut
Close