Package : perl-MooseX-Singleton > RPM : perl-MooseX-Singleton-0.300.0-4.mga9.src.rpm
Basic items
Name | perl-MooseX-Singleton |
Version | 0.300.0 |
Release | 4.mga9 |
URL | https://metacpan.org/release/MooseX-Singleton |
Group | Development/Perl |
Summary | Base class for MooseX::Singleton |
Size | 38KB |
Arch | noarch |
License | GPL+ or Artistic |
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'.
'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'.
Media information
Distribution release | Mageia cauldron |
Media name | core-release |
Media arch | i586 |
Advanced items
Source RPM | NOT IN DATABASE ?! |
Build time | 2022-03-21 00:32:57 |
Changelog | View in Sophie |
Files | View in Sophie |
Dependencies | View in Sophie |