Name : perl-Class-Accessor-Fast-Contained
| |
Version : 1.01
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 2.45
| Date : 2024-08-05 20:16:22
|
Group : Development/Libraries/Perl
| Source RPM : perl-Class-Accessor-Fast-Contained-1.01-2.45.src.rpm
|
Size : 0.01 MB
| |
Packager : (none)
| |
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/openSUSE_Tumbleweed/noarch |