[ ソース: libmoosex-strictconstructor-perl ]
パッケージ: libmoosex-strictconstructor-perl (0.21-1)
libmoosex-strictconstructor-perl に関するリンク
Debian の資源:
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]
メンテナ:
外部の資源:
- ホームページ [metacpan.org]
類似のパッケージ:
- 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.
その他の 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 作の実用的な抽出とレポート用の言語