NAME
Data::Hive::Store::Hash
DESCRIPTION
Simple hash store for Data::Hive.
METHODS
new
my $store = Data::Hive::Store::Hash->new(\%hash);
Takes a hashref to use as the store.
get
Use given \@path
as nesting keys in the hashref store.
set
See "get". Dies if you try to set a key underneath an existing non-hashref key, e.g.:
$hash = { foo => 1 };
$store->set([ 'foo', 'bar' ], 2); # dies
name
Returns 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.