[ ソース: libmoosex-singlearg-perl ]
パッケージ: libmoosex-singlearg-perl (0.09-1)
libmoosex-singlearg-perl に関するリンク
Debian の資源:
libmoosex-singlearg-perl ソースパッケージをダウンロード:
- [libmoosex-singlearg-perl_0.09-1.dsc]
- [libmoosex-singlearg-perl_0.09.orig.tar.gz]
- [libmoosex-singlearg-perl_0.09-1.debian.tar.xz]
メンテナ:
外部の資源:
- ホームページ [metacpan.org]
類似のパッケージ:
- libmoosex-role-parameterized-perl
- libmoosex-classattribute-perl
- libmoosex-getopt-perl
- libmoosex-setonce-perl
- libmoosex-strictconstructor-perl
- libmoosex-emulate-class-accessor-fast-perl
- libmoosex-log-log4perl-perl
- libmoosex-markasmethods-perl
- libmoosex-params-validate-perl
- libmoosex-undeftolerant-perl
- libmoosex-attribute-env-perl
module to instantiate Moose objects using a single argument
MooseX::SingleArg allows Moose instances to be constructed with a single argument. Your class or role must use this module and then use the single_arg method to declare which attribute will be assigned the single argument value.
If the class is constructed using the typical argument list name/value pairs, or with a hashref, then things work as is usual. But, if the arguments are a single non-hashref value then that argument will be assigned to whatever attribute you have declared.
その他の libmoosex-singlearg-perl 関連パッケージ
|
|
|
|
-
- dep: libmoose-perl
- modern Perl object system framework
-
- dep: perl
- Larry Wall 作の実用的な抽出とレポート用の言語