perl-Class-XSAccessor-Array - Generate fast XS accessors without runtime compilation

Distribution: ROSA 2014.1
Repository: ROSA Contrib x86_64
Package name: perl-Class-XSAccessor-Array
Package version: 1.40.0
Package release: 4-rosa2014.1
Package architecture: x86_64
Package type: rpm
Installed size: 40.80 KB
Download size: 21.08 KB
Official Mirror:
The module implements fast XS accessors both for getting at and setting an object attribute. Additionally, the module supports mutators and simple predicates ('has_foo()' like tests for definedness of an attributes). The module works only with objects that are implemented as *arrays*. Using it on hash-based objects is bound to make your life miserable. Refer to the Class::XSAccessor manpage for an implementation that works with hash-based objects. A simple benchmark showed more than a factor of two performance advantage over writing accessors in Perl. Since version 0.10, the module can also generate simple constructors (implemented in XS) for you. Simply supply the 'constructor => 'constructor_name'' option or the 'constructors => ['new', 'create', 'spawn']' option. These constructors do the equivalent of the following perl code:


  • perl(Class::XSAccessor::Array) == 1.40.0
  • perl-Class-XSAccessor-Array == 1.40.0-4:2014.1

    Install Howto

    1. Enable ROSA Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-Class-XSAccessor-Array rpm package:
      # urpmi perl-Class-XSAccessor-Array


    • /usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/
    • /usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Class/
    • /usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/Class/XSAccessor/
    • /usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/auto/
    • /usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/auto/Class/
    • /usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/auto/Class/XSAccessor/
    • /usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/auto/Class/XSAccessor/Array/
    • /usr/share/doc/perl-Class-XSAccessor-Array/Changes
    • /usr/share/doc/perl-Class-XSAccessor-Array/README
    • /usr/share/man/man3/Class::XSAccessor::Array.3pm.xz


    2014-07-25 - Denis Silakov <> 1.40.0-4 + Revision: 628997b - MassBuild#464: Increase release tag