NAME
Tie::Hash::Cannabinol - Perl extension for creating hashes that forget things
SYNOPSIS
use Tie::Hash::Cannabinol;
my %hash;
tie %hash, 'Tie::Hash::Cannabinol';
# % hash can now be treated exactly like a normal hash - but don't trust
# anything it tells you.
DESCRIPTION
Tie::Hash::Cannabinol is a completely useless demonstration of how to use Tie::StdHash to pervert the behaviour of Perl hashes. Once a hash has been tie
d to Tie::Hash::Cannabinol, there is a 25% chance that it will forget anything that you tell it immediately and a further 25% chance that it won't be able to retrieve any information you ask it for. Any information that it does return will be pulled at random from its keys.
Oh, and the return value from exists
isn't to be trusted either :)
AUTHOR
Dave Cross <dave@dave.org.uk>
SEE ALSO
perl(1), perltie(1), Tie::StdHash(1)