Linux ip-148-66-134-25.ip.secureserver.net 3.10.0-1160.119.1.el7.tuxcare.els10.x86_64 #1 SMP Fri Oct 11 21:40:41 UTC 2024 x86_64
Apache
: 148.66.134.25 | : 18.224.69.176
66 Domain
8.0.30
amvm
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
usr /
share /
perl5 /
Memoize /
[ HOME SHELL ]
Name
Size
Permission
Action
AnyDBM_File.pm
674
B
-rw-r--r--
Expire.pm
11.43
KB
-rw-r--r--
ExpireFile.pm
1.03
KB
-rw-r--r--
ExpireTest.pm
883
B
-rw-r--r--
NDBM_File.pm
1.45
KB
-rw-r--r--
SDBM_File.pm
1.45
KB
-rw-r--r--
Storable.pm
1.38
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ExpireTest.pm
package Memoize::ExpireTest; =head1 NAME Memoize::ExpireTest - test for Memoize expiration semantics =head1 DESCRIPTION This module is just for testing expiration semantics. It's not a very good example of how to write an expiration module. If you are looking for an example, I recommend that you look at the simple example in the Memoize::Expire documentation, or at the code for Memoize::Expire itself. If you have questions, I will be happy to answer them if you send them to mjd-perl-memoize+@plover.com. =cut $VERSION = '1.02'; my %cache; sub TIEHASH { my ($pack) = @_; bless \%cache => $pack; } sub EXISTS { my ($cache, $key) = @_; exists $cache->{$key} ? 1 : 0; } sub FETCH { my ($cache, $key) = @_; $cache->{$key}; } sub STORE { my ($cache, $key, $val) = @_; $cache->{$key} = $val; } sub expire { my ($key) = @_; delete $cache{$key}; } 1;
Close