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 /
IO /
t /
Delete
Unzip
Name
Size
Permission
Date
Action
IO.t
2.59
KB
-r--r--r--
2014-12-27 11:48
cachepropagate-tcp.t
1.3
KB
-r--r--r--
2014-12-27 11:48
cachepropagate-udp.t
1.14
KB
-r--r--r--
2014-12-27 11:48
cachepropagate-unix.t
2.87
KB
-r--r--r--
2014-12-27 11:48
io_const.t
577
B
-r--r--r--
2014-12-27 11:48
io_dir.t
1.42
KB
-r--r--r--
2014-12-27 11:48
io_dup.t
1.17
KB
-r--r--r--
2014-12-27 11:48
io_file.t
1.33
KB
-r--r--r--
2014-12-27 11:48
io_file_export.t
517
B
-r--r--r--
2014-12-27 11:48
io_linenum.t
1.26
KB
-r--r--r--
2014-12-27 11:49
io_multihomed.t
2.2
KB
-r--r--r--
2014-12-27 11:48
io_pipe.t
2.54
KB
-r--r--r--
2014-12-27 11:48
io_poll.t
1.36
KB
-r--r--r--
2014-12-27 11:48
io_sel.t
3.21
KB
-r--r--r--
2014-12-27 11:48
io_sock.t
8.78
KB
-r--r--r--
2014-12-27 11:48
io_taint.t
1.29
KB
-r--r--r--
2014-12-27 11:49
io_tell.t
1.36
KB
-r--r--r--
2014-12-27 11:48
io_udp.t
1.99
KB
-r--r--r--
2014-12-27 11:48
io_unix.t
2.41
KB
-r--r--r--
2014-12-27 11:48
io_utf8.t
833
B
-r--r--r--
2014-12-27 11:48
io_utf8argv.t
939
B
-r--r--r--
2014-12-27 11:48
io_xs.t
1.29
KB
-r--r--r--
2014-12-27 12:38
Save
Rename
#!./perl use Config; BEGIN { if($ENV{PERL_CORE}) { if ($Config{'extensions'} !~ /\bIO\b/) { print "1..0 # Skip: IO extension not built\n"; exit 0; } } if( $^O eq 'VMS' && $Config{'vms_cc_type'} ne 'decc' ) { print "1..0 # Skip: not compatible with the VAXCRTL\n"; exit 0; } } use Test::More tests => 5; use IO::File; use IO::Seekable; $x = new_tmpfile IO::File; ok($x, "new_tmpfile"); print $x "ok 2\n"; $x->seek(0,SEEK_SET); my $line = <$x>; is($line, "ok 2\n", "check we can write to the tempfile"); $x->seek(0,SEEK_SET); print $x "not ok 3\n"; $p = $x->getpos; print $x "ok 3\n"; $x->flush; $x->setpos($p); $line = <$x>; is($line, "ok 3\n", "test getpos/setpos"); $! = 0; $x->setpos(undef); ok($!, "setpos(undef) makes errno non-zero"); SKIP: { # [perl #64772] IO::Handle->sync fails on an O_RDONLY descriptor $Config{d_fsync} or skip "No fsync", 1; $^O =~ /^(?:aix|irix)$/ and skip "fsync() documented to fail on non-writable handles on $^O", 1; $^O eq 'cygwin' and skip "fsync() on cygwin uses FlushFileBuffers which requires a writable handle", 1; open my $fh, "<", "t/io_xs.t" or skip "Cannot open t/io_xs.t read-only: $!", 1; ok($fh->sync, "sync to a read only handle") or diag "sync(): ", $!; }