Turn your Moose class into a 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.
- Developed at devel:languages:perl
- Sources inherited from project openSUSE:Factory
-
1
derived packages
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:16.0:FactoryCandidates/perl-MooseX-Singleton && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
MooseX-Singleton-0.30.tar.gz | 0000034417 33.6 KB | |
cpanspec.yml | 0000000669 669 Bytes | |
perl-MooseX-Singleton.changes | 0000001729 1.69 KB | |
perl-MooseX-Singleton.spec | 0000002504 2.45 KB |
Latest Revision
Dominique Leuenberger (dimstar_suse)
accepted
request 441937
from
Stephan Kulow (coolo)
(revision 6)
1
Comments 0