Turn your Moose class into a Singleton

Edit Package perl-MooseX-Singleton
http://search.cpan.org/dist/MooseX-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.

Refresh
Refresh
Source Files
Filename Size Changed
MooseX-Singleton-0.26.tar.gz 0000016036 15.7 KB
perl-MooseX-Singleton.changes 0000000797 797 Bytes
perl-MooseX-Singleton.spec 0000002229 2.18 KB
Revision 5 (latest revision is 12)
Stephan Kulow's avatar Stephan Kulow (coolo) committed (revision 5)
- updated to 0.26
   - This module will now work with Moose 1.9900+, but it still works with
     older Moose as well. (Dave Rolsky)
   - The test suite now uses Test::Fatal instead of Test::Exception. (Karen
     Etheridge)
Comments 0
openSUSE Build Service is sponsored by