Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> perl >> libclass-singleton-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libclass-singleton-perl  ]

套件: libclass-singleton-perl (1.6-1)

implementation of a "Singleton" class

The Class::Singleton module implements a Singleton class from which other classes can be derived. A Singleton describes an object class that can have only one instance in any system. An example of a Singleton might be a print spooler or system registry.

By itself, the Class::Singleton module does very little other than manage the instantiation of a single object. In deriving a class from Class::Singleton, your module will inherit the Singleton instantiation method and can implement whatever specific functionality is required.

For a description and discussion of the Singleton class, see "Design Patterns", Gamma et al, Addison-Wesley, 1995, ISBN 0-201-63361-2.

其他與 libclass-singleton-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libclass-singleton-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 12.1 kB32 kB [文件列表]