Skip to content
Sections
>> Trisquel >> Pakiety >> nabia >> perl >> libmoosex-strictconstructor-perl
etiona  ] [  nabia  ] [  aramo  ]
[ Pakiet źródłowy: libmoosex-strictconstructor-perl  ]

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

Inne pakiety związane z libmoosex-strictconstructor-perl

  • wymaga
  • poleca
  • sugeruje

Pobieranie libmoosex-strictconstructor-perl

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
all 16,8 KiB44 KiB [lista plików]