freebsd-ports/devel/p5-Class-Default/pkg-descr
Sunpoet Po-Chuan Hsieh ad4f267b7a Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
2018-05-27 20:15:16 +00:00

12 lines
610 B
Text

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.
WWW: https://metacpan.org/release/Class-Default