Debian logoDebian Screenshots >

libmoosex-singleton-perl

Moose extension to turn a class into a singleton

Description

MooseX::Singleton lets you easily change your Moose class into a singleton, which is a class that only has one instance in an application. All you should need to do is change your use of "use Moose" to "use MooseX::Singleton". This module uses a new class metaclass and instance metaclass, so if you're doing metamagic you may not be able to use this.

Homepage

http://search.cpan.org/dist/MooseX-Singleton/


Upload more screenshots