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 /
FileCache /
t /
Delete
Unzip
Name
Size
Permission
Date
Action
01open.t
343
B
-r--r--r--
2014-12-27 11:48
02maxopen.t
584
B
-r--r--r--
2014-12-27 11:48
03append.t
862
B
-r--r--r--
2014-12-27 11:48
04twoarg.t
322
B
-r--r--r--
2014-12-27 11:48
05override.t
251
B
-r--r--r--
2014-12-27 11:48
06export.t
929
B
-r--r--r--
2014-12-27 11:48
07noimport.t
380
B
-r--r--r--
2014-12-27 11:48
Save
Rename
#!./perl use vars qw(@funcs $i); BEGIN { # Functions exported by FileCache; @funcs = qw[cacheout cacheout_close]; $i = 0; } use Test::More tests => 8; # Test 6: Test that exporting both works to package main and # other packages. Now using Exporter. # First, we shouldn't be able to have these in our namespace # Add them to BEGIN so the later 'use' doesn't influence this # test BEGIN { ok(not __PACKAGE__->can($_)) foreach @funcs; } # With an empty import list, we also shouldn't have them in # our namespace. # Add them to BEGIN so the later 'use' doesn't influence this # test BEGIN { use FileCache (); ok(not __PACKAGE__->can($_)) foreach @funcs; } # Now, we use FileCache in 'main' { use FileCache; ok(__PACKAGE__->can($_)) foreach @funcs; } # Now we use them in another package { package X; use FileCache; ::ok(__PACKAGE__->can($_)) foreach @main::funcs; }