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.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.30-bp156.3.1 info | GA Release | 2023-07-22 | 15 SP6 |
|
|
0.30-bp155.2.9 info | GA Release | 2023-05-17 | 15 SP5 |
|
|
0.30-bp154.1.18 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.30-bp153.1.13 info | GA Release | 2021-03-06 | 15 SP3 |
|
|
0.30-bp152.3.14 info | GA Release | 2020-04-17 | 15 SP2 |
|
|
0.30-bp151.3.1 info | GA Release | 2019-07-16 | 15 SP1 |
|
|
0.30-bp151.2.11 info | GA Release | 2019-05-18 | 15 SP1 |
|
|
0.30-bp150.2.4 info | GA Release | 2018-07-30 | 15 |
|
|