Pakket: libmoosex-strictconstructor-perl (0.21-1)
Verwijzigingen voor libmoosex-strictconstructor-perl
Trisquel 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]
Beheerder:
Original Maintainers:
- Debian Perl Group (Mailarchief)
- gregor herrmann
- Ansgar Burchardt
Externe bronnen:
- Homepage [metacpan.org]
Vergelijkbare pakketten:
- libmoox-strictconstructor-perl
- 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-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