Salvation::SharedStorage - Handy storage object
$storage -> get( $key ); $storage -> put( $key => $value );
Moose
$storage -> clear();
Clears the storage.
$storage -> get( $key );
Returns stored value for $key.
$key
$storage -> put( $key => $value );
Stores $value for $key.
$value
$storage -> $method( sub{ ... } )
Add an appropriate method modifier (see Moose::Manual::MethodModifiers) to current instance of Salvation::SharedStorage.
To install Salvation, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Salvation
CPAN shell
perl -MCPAN -e shell install Salvation
For more information on module installation, please visit the detailed CPAN module installation guide.