Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> perl >> libmoosex-strictconstructor-perl
etiona  ] [  nabia  ] [  aramo  ]

软件包: libmoosex-strictconstructor-perl (0.21-1)

Make your object constructors blow up on unknown attributes

"use MooseX::StrictConstructor" instead of just "use Moose" makes your constructors strict. If your constructor is called with an attribute init argument that your class does not declare, then it calls "Carp::confess()". This is a great way to catch small typos.

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

  • 依赖
  • 推荐
  • 建议

下载 libmoosex-strictconstructor-perl

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