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 /
io /
Delete
Unzip
Name
Size
Permission
Date
Action
argv.t
3.92
KB
-r--r--r--
2014-12-27 11:49
binmode.t
1.02
KB
-r--r--r--
2014-12-27 11:49
bom.t
329
B
-r--r--r--
2014-12-27 11:49
closepid.t
1.26
KB
-r--r--r--
2014-12-27 11:49
crlf.t
2.45
KB
-r--r--r--
2014-12-27 11:49
crlf_through.t
152
B
-r--r--r--
2014-12-27 11:49
data.t
1.5
KB
-r--r--r--
2014-12-27 11:49
defout.t
1.09
KB
-r--r--r--
2014-12-27 11:49
dup.t
3.09
KB
-r--r--r--
2014-12-27 11:49
eintr.t
3.65
KB
-r--r--r--
2015-01-12 20:14
eintr_print.t
2.48
KB
-r--r--r--
2014-12-27 11:49
errno.t
1.12
KB
-r--r--r--
2014-12-27 11:49
errnosig.t
746
B
-r--r--r--
2014-12-27 11:49
fflush.t
3.25
KB
-r--r--r--
2014-12-27 11:49
fs.t
12.97
KB
-r--r--r--
2014-12-27 11:49
inplace.t
1.83
KB
-r--r--r--
2014-12-27 11:49
iofile.t
644
B
-r--r--r--
2014-12-27 11:49
iprefix.t
707
B
-r--r--r--
2014-12-27 11:49
layers.t
6.37
KB
-r--r--r--
2014-12-27 11:49
nargv.t
1.16
KB
-r--r--r--
2014-12-27 11:49
open.t
14.56
KB
-r--r--r--
2014-12-27 11:49
openpid.t
2.39
KB
-r--r--r--
2014-12-27 11:49
perlio.t
5.73
KB
-r--r--r--
2014-12-27 11:49
perlio_fail.t
1.06
KB
-r--r--r--
2014-12-27 11:49
perlio_leaks.t
675
B
-r--r--r--
2014-12-27 11:49
perlio_open.t
756
B
-r--r--r--
2014-12-27 11:49
pipe.t
5.9
KB
-r--r--r--
2014-12-27 11:49
print.t
1.41
KB
-r--r--r--
2014-12-27 11:49
pvbm.t
2.39
KB
-r--r--r--
2014-12-27 11:49
read.t
523
B
-r--r--r--
2014-12-27 11:49
say.t
1.05
KB
-r--r--r--
2014-12-27 11:49
sem.t
1.78
KB
-r--r--r--
2014-12-27 11:49
shm.t
2.56
KB
-r--r--r--
2014-12-27 11:49
socket.t
3.51
KB
-r--r--r--
2014-12-27 11:49
tell.t
4.94
KB
-r--r--r--
2014-12-27 11:49
through.t
4.52
KB
-r--r--r--
2014-12-27 11:49
utf8.t
9.28
KB
-r--r--r--
2014-12-27 11:49
Save
Rename
#!./perl # tests for DATA filehandle operations BEGIN { chdir 't' if -d 't'; @INC = '../lib'; require './test.pl'; } $|=1; # It is important that all these tests are run via fresh_perl because # that way they get written to disk in text mode and will have CR-LF # line endings on Windows. Otherwise the failures related to Perl # code being read in binary mode will not be observed. run_multiple_progs('', \*DATA); done_testing(); __END__ # http://rt.perl.org/rt3/Ticket/Display.html?id=28106#txn-82657 while (<DATA>) { chomp; print "$.: '$_'\n"; system(); } __DATA__ 1 2 3 EXPECT 1: '1' 2: '2' 3: '3' ######## # http://rt.perl.org/rt3/Ticket/Display.html?id=28106#txn-83113 my $line1 = <DATA>; `echo foo`; my $line2 = <DATA>; if ($line1 eq "one\n") { print "ok 1\n" } else { print "not ok 1\n" } if ($line2 eq "two\n") { print "ok 2\n" } else { print "not ok 2\n" } __DATA__ one two EXPECT ok 1 ok 2 ######## # http://rt.perl.org/rt3/Ticket/Attachment/828796/403048/perlbug.rep.txt my @data_positions = tell(DATA); while (<DATA>){ if (/^__DATA__$/) { push @data_positions, tell(DATA); } } my @fh_positions; open(my $fh, '<', $0) or die; while (<$fh>){ if (/^__DATA__$/) { push @fh_positions, tell($fh); } } print "not " unless "@data_positions" eq "@fh_positions"; print "ok"; __DATA__ ab __DATA__ ab __DATA__ ab __DATA__ lotsa junk nothing EXPECT ok ######## # Which package is __DATA__ in? package foo; BEGIN{*foo::=*bar::} print <DATA>; __DATA__ 123 EXPECT 123