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 /
ext /
SDBM_File /
t /
Delete
Unzip
Name
Size
Permission
Date
Action
constants.t
340
B
-r--r--r--
2014-12-27 11:48
prep.t
778
B
-r--r--r--
2014-12-27 11:49
sdbm.t
79
B
-r--r--r--
2014-12-27 11:48
Save
Rename
#!./perl use strict; use Test::More tests => 4; use SDBM_File; use File::Temp 'tempfile'; use Fcntl; my ($dirfh, $dirname) = tempfile(); my ($pagfh, $pagname) = tempfile(); # close so Win32 allows them to be re-opened close $dirfh; close $pagfh; { my %h; ok(eval { tie %h, "SDBM_File", $dirname, O_CREAT | O_RDWR | O_TRUNC, 0640, $pagname; 1 }, "create SDBM with explicit filenames") or diag $@; is(keys %h, 0, "should be empty"); # basic sanity checks, the real storage checks are done by sdbm.t $h{abc} = 1; $h{def} = 1; } { my %h; ok(eval { tie %h, "SDBM_File", $dirname, O_RDWR, 0640, $pagname; 1 }, "open SDBM with explicit filenames"); is_deeply([ sort keys %h] , [ qw(abc def) ], "should have two keys"); }