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

套件: 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 [文件列表]