Name : perl-Class-Accessor-Fast-Contained
| |
Version : 1.10.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 150500.1.1
| Date : 2024-07-19 23:44:23
|
Group : Unspecified
| Source RPM : perl-Class-Accessor-Fast-Contained-1.10.0-150500.1.1.src.rpm
|
Size : 0.01 MB
| |
Packager : https://www_suse_com/
| |
Summary : Fast accessors with data containment
|
Description :
This module does two things differently to the venerable Class::Accessor::Fast :
* Fields are stored at arms-length within a single hash value of $self, rather than directly in the $self blessed referent.
* \'new()\' allows mixin into an existing object, rather than creating and returning a new blessed hashref. To do this, just call something like:
my $self = Some::Other::Class->new; $self = $self->Class::Accessor::Fast::Contained::new;
Note that the mixin code only supports objects which use a blessed hash reference or a blessed typeglob reference.
An alias \'setup()\' is available which does the same as \'new()\' but might make more sense if being used in this way.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_15_SP5/noarch |