Name : perl-Class-Accessor-Fast-Contained
| |
Version : 1.01
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.2.1
| Date : 2024-07-03 17:49:54
|
Group : Development/Libraries/Perl
| Source RPM : perl-Class-Accessor-Fast-Contained-1.01-lp156.2.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:/CPAN-C/15.6/noarch |