Name : perl-Class-Wrapper
| |
Version : 0.22
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.8.1
| Date : 2024-07-03 17:53:06
|
Group : Development/Libraries/Perl
| Source RPM : perl-Class-Wrapper-0.22-lp156.8.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : Decorator base class
|
Description :
The \'Class::Wrapper\' constructor takes a single argument: the object it is going to decorate. Subclasses of \'Class::Wrapper\' may take more arguments though.
When a method is called on the \'Class::Wrapper\' object, it is executed if it has been declared. If the method has not been declared, a dispatch method is automatically created that passes the method call through to the underlying object.
As far as method calls go, the \'Class::Wrapper\' object behaves exactly like the underlying object. However, direct access to attributes does not work, because \'$wrapper-< gt\'{attribute}> would access \'attribute\' in the wrapper class, not in the underlying object. To handle this problem, \'Class::Wrapper\' autogenerates accessor (get_attributename/set_attributename) methods to access properties of the underlying object.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-C/15.6/noarch |