Storm::LiveObjects::Scope - Scope helper object
{ my $scope = $storm->new_scope; ... do work on objects ... }
Live object scopes exist in order to ensure objects don't die too soon if the only other references to them are weak.
When scopes are destroyed the refcounts of the objects they refer to go down, and the parent scope is replaced in the live object set.
Adds objects or entries, increasing their reference count.
Clears the objects from the scope object.
Modified from code in KiokuDB::LiveOBjects::Scope by Yuval Kogman.
To install Storm, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Storm
CPAN shell
perl -MCPAN -e shell install Storm
For more information on module installation, please visit the detailed CPAN module installation guide.