Name : perl-Class-SingletonMethod
| |
Version : 1.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp155.8.1
| Date : 2023-07-20 18:59:43
|
Group : Development/Libraries/Perl
| Source RPM : perl-Class-SingletonMethod-1.0-lp155.8.1.src.rpm
|
Size : 0.00 MB
| |
Packager : https://www_suse_com/
| |
Summary : Extend individual objects with additional methods
|
Description :
This module provides a Perl implementation of singleton methods. The Ruby FAQ defines singleton methods like so:
(Q) What is a singleton method?
(A) A singleton method is defined for the particular object but in the class. A singleton method allows appending or changing methods without making subclasses.
msg = \"Hello\" def msg.print $>.print self, \"\ \" end msg.print #=> Hello
That is, you can add or override methods on a per-object basis.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-C/15.5/noarch |