perl-MooseX-Singleton-0.290.0-3-omv2015.0.noarch.rpm


Advertisement

Description

perl-MooseX-Singleton - Base class for MooseX::Singleton

Distribution: OpenMandriva Lx 3.0
Repository: OpenMandriva Contrib i586
Package name: perl-MooseX-Singleton
Package version: 0.290.0
Package release: 3-omv2015.0
Package architecture: noarch
Package type: rpm
Installed size: 47.37 KB
Download size: 22.80 KB
Official Mirror: abf-downloads.openmandriva.org
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'.

Alternatives

Provides

  • perl(MooseX::Singleton) == 0.290.0
  • perl(MooseX::Singleton::Role::Meta::Class) == 0.290.0
  • perl(MooseX::Singleton::Role::Meta::Instance) == 0.290.0
  • perl(MooseX::Singleton::Role::Meta::Method::Constructor) == 0.290.0
  • perl(MooseX::Singleton::Role::Object) == 0.290.0
  • perl-MooseX-Singleton == 0.290.0-3:2015.0

    Install Howto

    1. Enable OpenMandriva Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-MooseX-Singleton rpm package:
      # urpmi perl-MooseX-Singleton

    Files

    • /usr/lib/perl5/vendor_perl/5.20.1/MooseX/Singleton.pm
    • /usr/lib/perl5/vendor_perl/5.20.1/MooseX/Singleton/
    • /usr/lib/perl5/vendor_perl/5.20.1/MooseX/Singleton/Role/Object.pm
    • /usr/lib/perl5/vendor_perl/5.20.1/MooseX/Singleton/Role/Meta/Class.pm
    • /usr/lib/perl5/vendor_perl/5.20.1/MooseX/Singleton/Role/Meta/Instance.pm
    • /usr/lib/perl5/vendor_perl/5.20.1/MooseX/Singleton/Role/Meta/Method/Constructor.pm
    • /usr/share/doc/perl-MooseX-Singleton/Changes
    • /usr/share/doc/perl-MooseX-Singleton/LICENSE
    • /usr/share/doc/perl-MooseX-Singleton/META.yml
    • /usr/share/doc/perl-MooseX-Singleton/README
    • /usr/share/man/man3/MooseX::Singleton.3pm.xz
    • /usr/share/man/man3/MooseX::Singleton::Role::Meta::Class.3pm.xz
    • /usr/share/man/man3/MooseX::Singleton::Role::Meta::Instance.3pm.xz
    • /usr/share/man/man3/MooseX::Singleton::Role::Meta::Method::Constructor.3pm.xz
    • /usr/share/man/man3/MooseX::Singleton::Role::Object.3pm.xz
    Advertisement
    Advertisement