软件包: libmoosex-singlearg-perl (0.09-1)
libmoosex-singlearg-perl 的相关链接
Trisquel 的资源:
下载源码包 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]
维护者:
Original Maintainers:
- Debian Perl Group (Mail Archive)
- Xavier Guimard
外部的资源:
- 主页 [metacpan.org]
相似软件包:
- libmoosex-role-parameterized-perl
- libmoosex-getopt-perl
- libmoosex-classattribute-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-multiinitarg-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's Practical Extraction and Report Language