Filewatcher File Search File Search
Catalog
Content Search
» » » » »

libmoosex-singleton-perl

Moose extension to turn a 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.
Homepage:
Package version:0.24-1
Architecture:all
Distribution:Debian
Filename:libmoosex-singleton-perl_0.24-1_all.deb

/usr/share/man/man3/MooseX::Singleton.3pm.gz

MooseX::SingletonUser)Contributed Perl DocumenMooseX::Singleton(3pm)



NAME
       MooseX::Singleton - turn your Moose class into a singleton

SYNOPSIS
           package MyApp;
           use MooseX::Singleton;

           has env => (
               is      => 'rw',
               isa     => 'HashRef[Str]',
               default => sub { \%ENV },
           );

           package main;

      
more»

/usr/share/man/man3/MooseX::Singleton::Role::Meta::Class.3pm.gz

MooseX::SingletonUserlContrMooseX::Singleton::Role::Meta::Class(3pm)



NAME
       MooseX::Singleton::Role::Meta::Class - Metaclass role for
       MooseX::Singleton

DESCRIPTION
       This metaclass role makes sure that there is only ever one
       instance of an object for a singleton class. The first call
       to "construct_instance" is run normally (and then cached).
       Subsequent cal
more»

/usr/share/man/man3/MooseX::Singleton::Role::Meta::Instance.3pm.gz

MooseX::SingletonUserlCoMooseX::Singleton::Role::Meta::Instance(3pm)



NAME
       MooseX::Singleton::Role::Meta::Instance - Instance metaclass
       role for MooseX::Singleton

DESCRIPTION
       This role overrides all object access so that it gets the
       appropriate singleton instance for the class.



perl v5.10.1            MooseX::Singleton::Role::Meta::Instance(3pm)

/usr/share/man/man3/MooseX::Singleton::Role::Meta::Method::Constructor.3pm.gz

MooseX::SinglMooseX::Singleton::Role::Meta::Method::Constructor(3pm)



NAME
       MooseX::Singleto
more»

/usr/share/man/man3/MooseX::Singleton::Role::Object.3pm.gz

MooseX::SingletonUserlContributeMooseX::Singleton::Role::Object(3pm)



NAME
       MooseX::Singleto
more»

/usr/share/doc/libmoosex-singleton-perl/changelog.Debian.gz

libmoosex-singleton-perl (0.24-1) unstable; urgency=low

  * New upstream release.
  * Bump (build-)
more»

/usr/share/doc/libmoosex-singleton-perl/changelog.gz

Revision history for Perl extension MooseX-Singleton

0.24 2010-07-15
    - Require Moose 0.94+. (Da
more»

/usr/share/doc/libmoosex-singleton-perl/copyright

Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
Maintainer: 
more»

Browse inside libmoosex-singleton-perl_0.24-1_all.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download libmoosex-singleton-perl_0.24-1_all.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com