NAME

Bolts::Scope - The interface for lifecycle managers

VERSION

version 0.143171

DESCRIPTION

This describes the interface to be implemented by all artifact scopes, which are used to manage the lifecycles of artifacts in the Bolts system.

REQUIRED METHODS

get

my $artifact = $scope->get($bag, $name);

Fetches the named value out of the scope cache for the given bag.

put

$scope->put($bag, $name, $artifact);

Stores the named value into the scope cache for the given bag.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2014 by Qubling Software LLC.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.