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 use strict; require './test.pl'; $^I = $^O eq 'VMS' ? '_bak' : '.bak'; plan( tests => 6 ); my @tfiles = (tempfile(), tempfile(), tempfile()); my @tfiles_bak = map "$_$^I", @tfiles; END { unlink_all(@tfiles_bak); } for my $file (@tfiles) { runperl( prog => 'print qq(foo\n);', args => ['>', $file] ); } @ARGV = @tfiles; while (<>) { s/foo/bar/; } continue { print; } is ( runperl( prog => 'print<>;', args => \@tfiles ), "bar\nbar\nbar\n", "file contents properly replaced" ); is ( runperl( prog => 'print<>;', args => \@tfiles_bak ), "foo\nfoo\nfoo\n", "backup file contents stay the same" ); SKIP: { # based on code, dosish systems can't do no-backup inplace # edits $^O =~ /^(MSWin32|cygwin|uwin|dos|os2)$/ and skip("Can't inplace edit without backups on $^O", 4); our @ifiles = ( tempfile(), tempfile(), tempfile() ); { for my $file (@ifiles) { runperl( prog => 'print qq(bar\n);', args => [ '>', $file ] ); } local $^I = ''; local @ARGV = @ifiles; while (<>) { print "foo$_"; } is(scalar(@ARGV), 0, "consumed ARGV"); # runperl may quote its arguments, so don't expect to be able # to reuse things you send it. my @my_ifiles = @ifiles; is( runperl( prog => 'print<>;', args => \@my_ifiles ), "foobar\nfoobar\nfoobar\n", "normal inplace edit"); } # test * equivalence RT #70802 { for my $file (@ifiles) { runperl( prog => 'print qq(bar\n);', args => [ '>', $file ] ); } local $^I = '*'; local @ARGV = @ifiles; while (<>) { print "foo$_"; } is(scalar(@ARGV), 0, "consumed ARGV"); my @my_ifiles = @ifiles; is( runperl( prog => 'print<>;', args => \@my_ifiles ), "foobar\nfoobar\nfoobar\n", "normal inplace edit"); } END { unlink_all(@ifiles); } }