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

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

Muut pakettiin libmoosex-strictconstructor-perl liittyvät paketit

  • depends
  • recommends
  • suggests

Imuroi libmoosex-strictconstructor-perl

Imurointi kaikille saataville arkkitehtuureille
Arkkitehtuuri Paketin koko Koko asennettuna Tiedostot
all 16.8 kt44 kt [tiedostoluettelo]