Data::Hive::Store::HashData::Hive::Store::Hash is a simple hash store for Data::Hive. | |
Download |
Data::Hive::Store::Hash Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Hans Dieter Pearcey
- Publisher web site:
- http://search.cpan.org/~hdp/Email-MIME-XPath-0.005/lib/Email/MIME/XPath.pm
Data::Hive::Store::Hash Tags
Data::Hive::Store::Hash Description
Data::Hive::Store::Hash is a simple hash store for Data::Hive. Data::Hive::Store::Hash is a simple hash store for Data::Hive.METHODSnew my $store = Data::Hive::Store::Hash->new(%hash);Takes a hashref to use as the store.getUse given @path as nesting keys in the hashref store.setSee "get". Dies if you try to set a key underneath an existing non-hashref key, e.g.: $hash = { foo => 1 }; $store->set(, 2); # diesnameReturns a string, potentially suitable for eval-ing, describing a hash dereference of a variable called $STORE. "$STORE->{foo}->{bar}"This is probably not very useful.existsDescend the hash and return false if any of the path's parts do not exist, or true if they all do.deleteDescend the hash and delete the given path. Only deletes the leaf. Requirements: · Perl
Data::Hive::Store::Hash Related Software