Skip to content
Sections
>> Trisquel >> Paket >> etiona >> perl >> libmoosex-strictconstructor-perl
etiona  ] [  nabia  ] [  aramo  ]

Paket: 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.

Andra paket besläktade med libmoosex-strictconstructor-perl

  • beror
  • rekommenderar
  • föreslår

Hämta libmoosex-strictconstructor-perl

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
all 16,8 kbyte44 kbyte [filförteckning]