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||1479970127over 1 year ago|
|_link||0000000128128 Bytes||1481198979over 1 year ago|
|cpanspec.yml||0000000669669 Bytes||1479970127over 1 year ago|
|perl-MooseX-Singleton.changes||00000017291.69 KB||1479970127over 1 year ago|
|perl-MooseX-Singleton.spec||00000025042.45 KB||1479970128over 1 year ago|