软件包:libclass-default-perl(1.51-5)
libclass-default-perl 的相关链接
Debian 的资源:
下载源码包 libclass-default-perl:
- [libclass-default-perl_1.51-5.dsc]
- [libclass-default-perl_1.51.orig.tar.gz]
- [libclass-default-perl_1.51-5.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [metacpan.org]
相似软件包:
Perl module to make static calls apply to a default instantiation
Class::Default provides a mechanism to allow your class to take static method calls and apply it to a default instantiation of an object. It provides a flexibility to an API that allows it to be used more comfortably in different situations.
This technique appears to be especially useful when writing modules that you want to be used in either a single use or a persistent environment. In a CGI like environment, you want the simplicity of a static interface. You can call Class->method directly, without having to pass an instantiation around constantly.