perl-Class-Accessor-Array-Slurpy - Generate accessors/constructor for array-based object (supports slurpy attribute)

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Class-Accessor-Array-Slurpy
Package version 0.020
Package release alt1
Package architecture noarch
Package type rpm
Installed size 25.15 KB
Download size 25.15 KB
Official Mirror
This module is a builder for array-backed classes. It is the same as
the Class::Accessor::Array manpage except that you can define your last (in term of the
index in array storage) attribute to be a "slurpy attribute", meaning it is an
array where its elements are stored as elements of the array storage. There can
be at most one slurpy attribute and it must be the last.
Note that without a slurpy attribute, you can still store arrays or other
complex data in your attributes. It's just that with a slurpy attribute, you can
keep a single flat array backend, so the overall number of arrays is minimized.
An example of application: tree node objects, where the first attribute (array
element) is the parent, then zero or more extra attributes, then the last
attribute is a slurpy one storing zero or more children. This is how
the Mojo::DOM manpage stores its HTML tree node, for example.
=for Pod::Coverage .+


Package Version Architecture Repository
perl-Class-Accessor-Array-Slurpy - - -


Name Value
/usr/share/perl5 -
perl-base >= 1:5.10.1
rpmlib(PayloadIsLzma) -


Name Value
perl(Class/Accessor/Array/ = 0.020
perl-Class-Accessor-Array-Slurpy = 0.020-alt1


Type URL
Binary Package perl-Class-Accessor-Array-Slurpy-0.020-alt1.noarch.rpm
Source Package perl-Class-Accessor-Array-Slurpy-0.020-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Class-Accessor-Array-Slurpy rpm package:
    # sudo apt-get install perl-Class-Accessor-Array-Slurpy



See Also

Package Description
perl-Class-Accessor-Assert-1.41-alt3_8.noarch.rpm Accessors which type-check
perl-Class-Accessor-Children-0.02-alt1.noarch.rpm perl module Class-Accessor-Children
perl-Class-Accessor-Classy-v0.9.1-alt2_8.noarch.rpm Accessors with minimal inheritance
perl-Class-Accessor-Complex-1.100880-alt1.noarch.rpm Arrays, hashes, booleans, integers, sets and more
perl-Class-Accessor-Constructor-1.111590-alt1.noarch.rpm Constructor generator
perl-Class-Accessor-Contextual-0.01-alt1.noarch.rpm Context-aware accessors
perl-Class-Accessor-FactoryTyped-1.100970-alt1.noarch.rpm Accessors whose values come from a factory
perl-Class-Accessor-Fast-Contained-1.01-alt1.noarch.rpm Fast accessors with data containment
perl-Class-Accessor-Fast-GXS-0.01-alt1.noarch.rpm generate C::A::Fast compatible XS accessors
perl-Class-Accessor-Fast-WithBuilder-0.0101-alt1.noarch.rpm Class::Accessor::Fast with lazy defaults
perl-Class-Accessor-Installer-1.100880-alt1.noarch.rpm Install an accessor subroutine
perl-Class-Accessor-Lazy-1.003-alt2.noarch.rpm class accessors generation with lazy accessors and fast mode support
perl-Class-Accessor-Lite-Lazy-0.03-alt1.noarch.rpm Class::Accessor::Lite with lazy accessor feature
perl-Class-Accessor-Lvalue-0.11-alt3_8.noarch.rpm Class-Accessor-Lvalue module for perl
perl-Class-Accessor-Named-0.009-alt1.noarch.rpm Better profiling output for Class::Accessor