MooseX::Singleton::Role::Meta::Class - Metaclass role for MooseX::Singleton
version 0.29
This metaclass role makes sure that there is only ever one instance of an object for a singleton class. The first call to construct_instance is run normally (and then cached). Subsequent calls will return the cached version.
construct_instance
Shawn M Moore <sartak@gmail.com>
This software is copyright (c) 2011 by Shawn M Moore.
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 MooseX::Singleton, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::Singleton
CPAN shell
perl -MCPAN -e shell install MooseX::Singleton
For more information on module installation, please visit the detailed CPAN module installation guide.