Dave Rolsky > MooseX-Singleton > MooseX::Singleton::Role::Meta::Class

Download:
MooseX-Singleton-0.21.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  2
View Bugs
Report a bug
Source  

NAME ^

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

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.