[ Bron: libmoosex-strictconstructor-perl ]
Pakket: libmoosex-strictconstructor-perl (0.21-1)
Verwijzigingen voor libmoosex-strictconstructor-perl
Debian bronnen:
Het bronpakket libmoosex-strictconstructor-perl downloaden:
- [libmoosex-strictconstructor-perl_0.21-1.dsc]
- [libmoosex-strictconstructor-perl_0.21.orig.tar.gz]
- [libmoosex-strictconstructor-perl_0.21-1.debian.tar.xz]
Beheerders:
Externe bronnen:
- Homepage [metacpan.org]
Vergelijkbare pakketten:
- libmousex-strictconstructor-perl
- libmoosex-classattribute-perl
- libmoosex-singlearg-perl
- libmoosex-getopt-perl
- libmoosex-multiinitarg-perl
- libmoosex-undeftolerant-perl
- libmoosex-lazyrequire-perl
- libmoosex-oneargnew-perl
- libmoosex-setonce-perl
- libmoosex-declare-perl
- libmoosex-emulate-class-accessor-fast-perl
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
|
|
|
|
-
- dep: libmoose-perl
- modern Perl object system framework
-
- dep: libnamespace-autoclean-perl
- module to remove imported symbols after compilation
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language