squeeze  ] [  sid  ]
[ Source: libmoosex-singleton-perl  ]

Package: libmoosex-singleton-perl (0.21-1)

Perl module to turn a Moose class into a singleton

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.

Other Packages Related to libmoosex-singleton-perl

  • depends
  • recommends
  • suggests
  • dep: libmoose-perl (>= 0.82)
    Modern Perl object system framework
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

Download libmoosex-singleton-perl

Download for all available architectures
Architecture Package Size Installed Size Files
all 15.9 kB104 kB [list of files]