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 /
t /
cmd /
Delete
Unzip
Name
Size
Permission
Date
Action
elsif.t
463
B
-r--r--r--
2014-12-27 11:49
for.t
1.98
KB
-r--r--r--
2014-12-27 11:49
mod.t
1.08
KB
-r--r--r--
2014-12-27 11:49
subval.t
3.7
KB
-r--r--r--
2014-12-27 11:49
switch.t
1.42
KB
-r--r--r--
2014-12-27 11:49
Save
Rename
#!./perl print "1..15\n"; for ($i = 0; $i <= 10; $i++) { $x[$i] = $i; } $y = $x[10]; print "#1 :$y: eq :10:\n"; $y = join(' ', @x); print "#1 :$y: eq :0 1 2 3 4 5 6 7 8 9 10:\n"; if (join(' ', @x) eq '0 1 2 3 4 5 6 7 8 9 10') { print "ok 1\n"; } else { print "not ok 1\n"; } $i = $c = 0; for (;;) { $c++; last if $i++ > 10; } if ($c == 12) {print "ok 2\n";} else {print "not ok 2\n";} $foo = 3210; @ary = (1,2,3,4,5); foreach $foo (@ary) { $foo *= 2; } if (join('',@ary) eq '246810') {print "ok 3\n";} else {print "not ok 3\n";} for (@ary) { s/(.*)/ok $1\n/; } print $ary[1]; # test for internal scratch array generation # this also tests that $foo was restored to 3210 after test 3 for (split(' ','a b c d e')) { $foo .= $_; } if ($foo eq '3210abcde') {print "ok 5\n";} else {print "not ok 5 $foo\n";} foreach $foo (("ok 6\n","ok 7\n")) { print $foo; } sub foo { for $i (1..5) { return $i if $_[0] == $i; } } print foo(1) == 1 ? "ok" : "not ok", " 8\n"; print foo(2) == 2 ? "ok" : "not ok", " 9\n"; print foo(5) == 5 ? "ok" : "not ok", " 10\n"; sub bar { return (1, 2, 4); } $a = 0; foreach $b (bar()) { $a += $b; } print $a == 7 ? "ok" : "not ok", " 11\n"; $loop_count = 0; for ("-3" .. "0") { $loop_count++; } print $loop_count == 4 ? "ok" : "not ok", " 12\n"; # modifying arrays in loops is a no-no @a = (3,4); eval { @a = () for (1,2,@a) }; print $@ =~ /Use of freed value in iteration/ ? "ok" : "not ok", " 13\n"; # [perl #30061] double destory when same iterator variable (eg $_) used in # DESTROY as used in for loop that triggered the destroy { my $x = 0; sub X::DESTROY { my $o = shift; $x++; 1 for (1); } my %h; $h{foo} = bless [], 'X'; delete $h{foo} for $h{foo}, 1; print $x == 1 ? "ok" : "not ok", " 14 - double destroy, x=$x\n"; } # [perl #78194] foreach() aliasing op return values for ("${\''}") { print "not " unless \$_ == \$_; print 'ok 15 - [perl \#78194] \$_ == \$_ inside for("$x"){...}', "\n"; }