Name : perl-Class-Default
| |
Version : 1.51
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 10.44
| Date : 2024-08-05 19:11:09
|
Group : Development/Libraries/Perl
| Source RPM : perl-Class-Default-1.51-10.44.src.rpm
|
Size : 0.04 MB
| |
Packager : (none)
| |
Summary : 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 confortably in different situations.
A good example of this technique in use is CGI.pm. When you use a static method, like \'CGI-\'header>, your call is being applied to a default instantiation of a CGI object.
This technique appears to be especially usefull when writing modules that you want to be used in either a single use or a persistant 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.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-C/openSUSE_Tumbleweed/noarch |