Name : perl-MooseX-Singleton
| |
Version : 0.290.0
| Vendor : (none)
|
Release : 8pclos2017
| Date : 2017-07-13 00:48:39
|
Group : Development/Perl
| Source RPM : perl-MooseX-Singleton-0.290.0-8pclos2017.src.rpm
|
Size : 0.05 MB
| |
Packager : bb2 < bb2>
| |
Summary : Base class for MooseX::Singleton
|
Description :
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 the Moose manpage 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 a new class metaclass and instance metaclass, so if you\'re doing metamagic you may not be able to use this.
\'MooseX::Singleton\' gives your class an \'instance\' method that can be used to get a handle on the singleton. It\'s actually just an alias for \'new\'.
|
RPM found in directory: /vol/rzm3/linux-pclinuxos/pclinuxos/apt/pclinuxos/64bit/RPMS.x86_64 |