Skip to content
Sections
>> Trisquel >> Pakete >> nabia >> 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.

Andere Pakete mit Bezug zu libmoosex-strictconstructor-perl

  • hängt ab von
  • empfiehlt
  • schlägt vor

libmoosex-strictconstructor-perl herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 16,8 kB44 kB [Liste der Dateien]