Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> perl >> libmoosex-singleton-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libmoosex-singleton-perl  ]

软件包: libmoosex-singleton-perl (0.30-1)

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.

其他与 libmoosex-singleton-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libmoose-perl
    modern Perl object system framework
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下载 libmoosex-singleton-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 20.0 kB56 kB [文件列表]