[ Source: libmoosex-strictconstructor-perl ]
Package: libmoosex-strictconstructor-perl (0.21-1)
Links for libmoosex-strictconstructor-perl
Debian Resources:
Download Source Package libmoosex-strictconstructor-perl:
- [libmoosex-strictconstructor-perl_0.21-1.dsc]
- [libmoosex-strictconstructor-perl_0.21.orig.tar.gz]
- [libmoosex-strictconstructor-perl_0.21-1.debian.tar.xz]
Maintainers:
External Resources:
- Homepage [metacpan.org]
Similar packages:
- 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.
Other Packages Related to libmoosex-strictconstructor-perl
|
|
|
|
-
- dep: libmoose-perl
- modern Perl object system framework
-
- dep: libnamespace-autoclean-perl
- module to remove imported symbols after compilation
-
- dep: perl
- 래리 월의 Practical Extraction and Report Language
Download libmoosex-strictconstructor-perl
Architecture | Package Size | Installed Size | Files |
---|---|---|---|
all | 18.3 kB | 46.0 kB | [list of files] |