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

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

Andere aan libmoosex-strictconstructor-perl gerelateerde pakketten

  • depends
  • recommends
  • suggests

libmoosex-strictconstructor-perl downloaden

Pakket downloaden voor alle beschikbare platforms
Platform Pakketgrootte Geïnstalleerde grootte Bestanden
all 16,8 kB44 kB [overzicht]