Name : perl-Class-Default
| |
Version : 1.51
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.10.1
| Date : 2023-07-20 18:47:28
|
Group : Development/Libraries/Perl
| Source RPM : perl-Class-Default-1.51-lp155.10.1.src.rpm
|
Size : 0.04 MB
| |
Packager : https://www_suse_com/
| |
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/15.5/noarch |