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 : Bool.pm
package Test2::Compare::Bool; use strict; use warnings; use Carp qw/confess/; use base 'Test2::Compare::Base'; our $VERSION = '0.000162'; use Test2::Util::HashBase qw/input/; # Overloads '!' for us. use Test2::Compare::Negatable; sub name { my $self = shift; my $in = $self->{+INPUT}; return _render_bool($in); } sub operator { my $self = shift; return '!=' if $self->{+NEGATE}; return '=='; } sub verify { my $self = shift; my %params = @_; my ($got, $exists) = @params{qw/got exists/}; return 0 unless $exists; my $want = $self->{+INPUT}; my $match = ($want xor $got) ? 0 : 1; $match = $match ? 0 : 1 if $self->{+NEGATE}; return $match; } sub run { my $self = shift; my $delta = $self->SUPER::run(@_) or return; my $dne = $delta->dne || ""; unless ($dne eq 'got') { my $got = $delta->got; $delta->set_got(_render_bool($got)); } return $delta; } sub _render_bool { my $bool = shift; my $name = $bool ? 'TRUE' : 'FALSE'; my $val = defined $bool ? $bool : 'undef'; $val = "''" unless length($val); return "<$name ($val)>"; } 1; __END__ =pod =encoding UTF-8 =head1 NAME Test2::Compare::Bool - Compare two values as booleans =head1 DESCRIPTION Check if two values have the same boolean result (both true, or both false). =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