Bolts::Scope::Singleton - For artifacts that are reused for the lifetime of the bag
version 0.143170
This scope does not define a true singleton, but a singleton for the lifetime of the bag it is associated with, which might be the same thing.
Bolts::Scope
If the named artifact has ever been stored for this bag, it will be returned by this method.
Puts the named artifact into the singleton cache for the bag. Once there, it will stay there for as long as the object exists.
Andrew Sterling Hanenkamp <hanenkamp@cpan.org>
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.
To install Bolts, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bolts
CPAN shell
perl -MCPAN -e shell install Bolts
For more information on module installation, please visit the detailed CPAN module installation guide.