Search results for "module:Tie::Hash"

Tie::Hash::LRU - LRU hashes for Perl (XS implementation) River stage two • 3 direct dependents • 25 total dependents

This module provides XS implementation of the LRU algorithm. It merely puts hash entry in front of the queue each time this entry accessed. Tied hashes have significant overhead and cannot perform as fast as a simple subroutine call. But the benefits...

ZZZ/Tie-Hash-LRU-0.05 - 27 Nov 2011 18:46:20 UTC

Tie::Hash::DBD - tie a plain hash to a database table River stage zero No dependents

This module has been created to act as a drop-in replacement for modules that tie straight perl hashes to disk, like "DB_File". When the running system does not have enough memory to hold large hashes, and disk-tieing won't work because there is not ...

HMBRAND/Tie-Hash-DBD-0.24 - 06 Jan 2023 14:38:35 UTC

Tie::Hash::Log - Tied hash that behaves like a regular hash, but logs operations River stage zero No dependents

This class implements tie interface for hash but performs regular hash operations, except logging the operation with Log::ger. It's basically used for testing, benchmarking, or documentation only....

PERLANCAR/Tie-Hash-Log-0.001 - 12 May 2019 01:40:12 UTC

Tie::Hash::Rank - A hash which turns values into ranking positions River stage zero No dependents

This module allows you to tie a hash such that when you retrieve values from it, you get the value's rank instead of the actual data. By default, it ranks items numerically, with the highest value getting rank 1, and given two equal values they will ...

DCANTRELL/Tie-Hash-Rank-1.0.1 - 13 Jun 2001 20:03:01 UTC

Tie::Hash::Stack - Maintains an array of hashes like a stack. River stage zero No dependents

"Tie::Hash::Stack" allows one to tie a hash to a data structure that is composed of an ordered (FILO) sequence of hashes; hash values are always set on the newest hash of the stack, and are retrieved from the hash that contains the requested that is ...

REHSACK/Tie-Hash-Stack-0.100 - 04 Nov 2013 19:00:04 UTC

Tie::Alias::Hash - required by Tie::Alias::TIEHASH River stage zero No dependents

DAVIDNICO/Tie-Alias-Hash-0.01 - 26 Nov 2002 03:25:52 UTC

Tie::Proxy::Hash - Effieciently merge & translate hashes. River stage zero No dependents

Proxy hash requests for one or more other hashes, with intermediate value translation. Tie::Proxy::Hash 'merges' hashes by maintaining a list of hashes to look up, and each key requested is looked up in each hash in order until a hit is found. Result...

FLUFFY/Tie-Proxy-Hash-1.01 - 19 Mar 2003 16:51:54 UTC

Tie::Hash::Array - a hash which is internally implemented as a sorted array River stage zero No dependents

Hashes tied to this class will interally be stored as an array alternately containing keys and values, with its keys sorted in standard string comparison order, that is, as "cmp" does. While the main purpose of this module is serving as a base class ...

FANY/Tie-Hash-Array-0.1 - 01 Jan 2008 15:28:34 UTC

Tie::Hash::Blame - A hash that remembers where its keys were set River stage zero No dependents

Have you ever tried to track changes to a hash throughout a large program? It's hard, isn't it? This module makes things a little easier. Its intended use is for debugging, because ties are magic, and magic is evil....

RHOELZ/Tie-Hash-Blame-0.01 - 23 May 2012 19:45:23 UTC

Tie::Hash::Regex - Match hash keys using Regular Expressions River stage one • 1 direct dependent • 1 total dependent

Someone asked on Perlmonks if a hash could do fuzzy matches on keys - this is the result. If there's no exact match on the key that you pass to the hash, then the key is treated as a regex and the first matching key is returned. You can force it to l...

DAVECROSS/Tie-Hash-Regex-1.14 - 25 Jan 2021 10:15:53 UTC

Tie::Redis::Hash - Connect a Redis hash to a Perl hash River stage zero No dependents

DGL/Tie-Redis-0.26 - 11 Apr 2013 15:32:57 UTC

Tie::Hash::Check - Tied construct for hash key checking. River stage zero No dependents

SKIM/Tie-Hash-Check-0.09 - 20 Jun 2020 16:12:34 UTC

Tie::Hash::Vivify - Create hashes that autovivify in interesting ways. River stage one • 1 direct dependent • 1 total dependent

This module implements a hash where if you read a key that doesn't exist, it will call a code reference to fill that slot with a value....

DCANTRELL/Tie-Hash-Vivify-1.04 - 16 Jun 2017 21:38:29 UTC

Tie::Hash::Create River stage zero No dependents

Look at sections "Inheriting from Tie::ExtraHash" in Tie::Hash. Consider an object, say $tob returned by tie. It is an array, primitive hash-operations are carried out on the first field of this array, that is $tob->[0], a reference to a hash. Surpri...

SCHOEJO/Tie-Hash-Create-0.02 - 14 Aug 2008 07:30:00 UTC

Tie::Hash::Method - Tied hash with specific methods overriden by callbacks River stage two • 2 direct dependents • 13 total dependents

Tie::Hash::Method provides a way to create a tied hash with specific overriden behaviour without having to create a new class to do it. A tied hash with no methods overriden is functionally equivalent to a normal hash. Each method in a standard tie c...

YVES/Tie-Hash-Method-0.02 - 24 Jul 2008 22:22:04 UTC

Tie::Hash::Expire - Hashes with keys that expire after a user-set period. River stage one • 1 direct dependent • 1 total dependent

Hashes tied to Tie::Hash::Expire behave like normal hashes in all respects except that when a key is added or the value associated with a key is changed, the current time is stored, and after 'expire_seconds' the key and value are removed from the ha...

JEFFY/Tie-Hash-Expire-0.03 - 22 Mar 2004 22:57:29 UTC

Tie::Subset::Hash - Tie a hash to a subset of another hash River stage zero No dependents

This class for tied hashes provides a "view" of a subset of a hash. POD ERRORS Hey! The above document had some coding errors, which are explained below: Around line 5: =over is the last thing in the document?!...

HAUKEX/Tie-Subset-0.02 - 28 Jan 2023 14:11:03 UTC

Tie::Hash::Random - Generates random for different fetched keys River stage one • 1 direct dependent • 1 total dependent

Tie::Hash::Random generates a random number each time a different key is fetched. The actual random data is generated using Data::Random rand_chars function. The default arguments are ( set => 'all', min => 5, max => 8 ) which can be modifed using ti...

MATIU/Tie-Hash-Random-1.02 - 18 Oct 2009 20:30:57 UTC

Tie::Hash::Approx - Approximative match of hash keys using String::Approx River stage zero No dependents

Following the idea of Tie::Hash::Regex, this module is an attempt to make fuzzy matches on hash keys. The module first tries to fetch the exact key of the hash, and failing that, the key is passed to the String::Approx' "amatch" function. Note that y...

BRIAC/Tie-Hash-Approx-0.03 - 01 Aug 2002 21:25:42 UTC

Tie::Hash::TwoWay - Perl extension for two-way mapping between two disjoint sets River stage zero No dependents

Tie::Hash::TwoWay will take a list of one-way associations and transparently create their reverse. For instance, say you have a list of machines, and a list of classes that each machine belongs to. Tie::Hash::TwoWay will take the machines, one by one...

TEODOR/Tie-Hash-TwoWay-1.08 - 12 May 2005 17:09:58 UTC
288 results (0.047 seconds)