Linux cpanel2.daytoncreative.net 2.6.32-754.29.2.el6.x86_64 #1 SMP Tue May 12 17:39:04 UTC 2020 x86_64
Apache/2.4.43 (cPanel) OpenSSL/1.1.1g mod_bwlimited/1.4
Server IP : 70.62.220.67 & Your IP : 216.73.216.193
Domains :
Cant Read [ /etc/named.conf ]
User : michaelgreg
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
log /
perl-5.20.2 /
dist /
Text-Abbrev /
t /
Delete
Unzip
Name
Size
Permission
Date
Action
Abbrev.t
1.21
KB
-r--r--r--
2014-12-27 11:48
Save
Rename
#!./perl print "1..8\n"; use Text::Abbrev; print "ok 1\n"; # old style as reference local(%x); my @z = qw(list edit send abort gripe listen); abbrev(*x, @z); my $r = join ':', sort keys %x; print "not " if exists $x{'l'} || exists $x{'li'} || exists $x{'lis'}; print "ok 2\n"; print "not " unless $x{'list'} eq 'list' && $x{'liste'} eq 'listen' && $x{'listen'} eq 'listen'; print "ok 3\n"; print "not " unless $x{'a'} eq 'abort' && $x{'ab'} eq 'abort' && $x{'abo'} eq 'abort' && $x{'abor'} eq 'abort' && $x{'abort'} eq 'abort'; print "ok 4\n"; my $test = 5; # wantarray my %y = abbrev @z; my $s = join ':', sort keys %y; print (($r eq $s)?"ok $test\n":"not ok $test\n"); $test++; my $y = abbrev @z; $s = join ':', sort keys %$y; print (($r eq $s)?"ok $test\n":"not ok $test\n"); $test++; %y = (); abbrev \%y, @z; $s = join ':', sort keys %y; print (($r eq $s)?"ok $test\n":"not ok $test\n"); $test++; # warnings safe with zero arguments my $notok; $^W = 1; $SIG{__WARN__} = sub { $notok++ }; abbrev(); print ($notok ? "not ok $test\n" : "ok $test\n"); $test++;