MooseX::Singleton::Role::Meta::Class.3pm

Langue: en

Version: 2009-12-25 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

Sommaire

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 calls will return the cached version.