NAME
Salvation::SharedStorage - Handy storage object
SYNOPSIS
$storage -> get( $key );
$storage -> put( $key => $value );
REQUIRES
METHODS
clear
$storage -> clear();
Clears the storage.
get
$storage -> get( $key );
Returns stored value for $key
.
put
$storage -> put( $key => $value );
Stores $value
for $key
.
add_before_get_handler
add_around_get_handler
add_after_get_handler
add_before_put_handler
add_around_put_handler
add_after_put_handler
$storage -> $method( sub{ ... } )
Add an appropriate method modifier (see Moose::Manual::MethodModifiers) to current instance of Salvation::SharedStorage.