Turn your Moose class into a Singleton
A singleton is a class that has only one instance in an application. "MooseX::Singleton" lets you easily upgrade (or downgrade, as it were) your Moose class to a singleton. All you should need to do to transform your class is to change "use Moose" to "use MooseX::Singleton". This module uses metaclass roles to do its magic, so it should cooperate with most other "MooseX" modules.
Source Files (show merged sources derived from linked package)
|MooseX-Singleton-0.30.tar.gz||000003441733.6 KB||1479970127almost 2 years ago|
|_link||0000000128128 Bytes||1481198979almost 2 years ago|
|cpanspec.yml||0000000669669 Bytes||1479970127almost 2 years ago|
|perl-MooseX-Singleton.changes||00000017291.69 KB||1479970127almost 2 years ago|
|perl-MooseX-Singleton.spec||00000025042.45 KB||1479970128almost 2 years ago|