
Data::Hive::Store::Hash

Simple hash store for Data::Hive.

my $store = Data::Hive::Store::Hash->new(\%hash);
Takes a hashref to use as the store.
Use given \@path as nesting keys in the hashref store.
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
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.
Descend the hash and return false if any of the path's parts do not exist, or true if they all do.
Descend the hash and delete the given path. Only deletes the leaf.