blob: aad973d87d0aba18f56a82c58b263bf2d14f70aa (
plain)
1
2
3
4
5
|
The Perl 5 module MooseX::Singleton lets you easily upgrade 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'.
MooseX::Singleton gives your class an 'instance' method that can
be used to get a handle on the singleton.
|