Scroll to navigation

MooseX::Singleton::Role::Meta::Class(3pm) User Contributed Perl Documentation MooseX::Singleton::Role::Meta::Class(3pm)

NAME

MooseX::Singleton::Role::Meta::Class - Metaclass role for MooseX::Singleton

VERSION

version 0.29

DESCRIPTION

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.

AUTHOR

Shawn M Moore <sartak@gmail.com>

COPYRIGHT AND LICENSE

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.
2011-12-08 perl v5.14.2