in reply to Re: Storable retrieve
in thread Storable retrieve
Alternatively, after tie'ing the hash, you can use:But only if you define $hash ;)$hash->get($key, $value [, $flags]);
If you do use $hash, you must be sure to undef it before you untie %hash, see the untie gotcha part of the DB_File documentation.my $hash = tie %hash, 'DB_File', [$filename, $flags, $mode, $DB_HASH] +; $hash = tied %hash;
____________________________________________________
** The Third rule of perl club is a statement of fact: pod is sexy.
|
|---|