Data::Localize::Storage::Hash - Hash Backend


Data-Localize documentation Contained in the Data-Localize distribution.

Index


Code Index:

NAME

Top

Data::Localize::Storage::Hash - Hash Backend

SYNOPSIS

Top

    use Data::Localize::Storage::Hash;

    Data::Localize::Storage::Hash->new();

METHODS

Top

get

set


Data-Localize documentation Contained in the Data-Localize distribution.

package Data::Localize::Storage::Hash;
use Any::Moose;

with 'Data::Localize::Storage';

sub get {
    my $self = shift;
    $self->{$_[0]}
}

sub set {
    my $self = shift;
    $self->{$_[0]} = $_[1];
}

__PACKAGE__->meta->make_immutable();

no Any::Moose;

1;

__END__