libclass-default-perl

Perl module to make static calls apply to a default instantiation

Description

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.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Class-Default


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libclass-default-perl