[ Källkod: libmoosex-strictconstructor-perl ]
Paket: libmoosex-strictconstructor-perl (0.21-2)
Länkar för libmoosex-strictconstructor-perl
Debianresurser:
Hämta källkodspaketet libmoosex-strictconstructor-perl:
- [libmoosex-strictconstructor-perl_0.21-2.dsc]
- [libmoosex-strictconstructor-perl_0.21.orig.tar.gz]
- [libmoosex-strictconstructor-perl_0.21-2.debian.tar.xz]
Ansvariga:
Externa resurser:
- Hemsida [metacpan.org]
Liknande paket:
- 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.
Andra paket besläktade med libmoosex-strictconstructor-perl
|
|
|
|
-
- 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
Hämta libmoosex-strictconstructor-perl
Arkitektur | Paketstorlek | Installerad storlek | Filer |
---|---|---|---|
all | 18,5 kbyte | 46,0 kbyte | [filförteckning] |