LogoopenSUSE Build Service > Projects
Sign Up | Log In

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)

Filename Size Changed Actions
MooseX-Singleton-0.30.tar.gz 33.6 KB over 1 year ago Download File
cpanspec.yml 669 Bytes over 1 year ago Download File
perl-MooseX-Singleton.changes 1.69 KB over 1 year ago Download File
perl-MooseX-Singleton.spec 2.45 KB over 1 year ago Download File

Comments for home:M0ses:Perl (0)