Data::StackedMap is a Perl object that stores key/value pairs in a stacked fashion.
SYNOPSIS
use Data::StackedMap;
my $data = Data::StackedMap->new();
$data->set("foo" => 10);
print $data->get("foo"); # prints '10'
$data->push();
print $data->get("foo"); # still prints '10'
$data->set("foo" => 20);
print $data->get("foo"); # now prints '20'
$data->pop();
print $data->get("foo"); # prints '10' again
This class implements a simple key/value map where each key can exist multiple times in different layers in a stack.
Product's homepage
Requirements:
· Perl