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

Distribution: ROSA Enterprise Desktop
Repository: ROSA Contrib Updates x86_64
Package name: perl-Class-XSAccessor-Array
Package version: 1.40.0
Package release: 2-rosa.lts2012.0
Package architecture: x86_64
Package type: rpm
Installed size: 44.51 KB
Download size: 22.40 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-2:2012.0

    Install Howto

    1. Enable ROSA Contrib Updates 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.12.3/x86_64-linux-thread-multi/
    • /usr/lib/perl5/vendor_perl/5.12.3/x86_64-linux-thread-multi/Class/
    • /usr/lib/perl5/vendor_perl/5.12.3/x86_64-linux-thread-multi/Class/XSAccessor/
    • /usr/lib/perl5/vendor_perl/5.12.3/x86_64-linux-thread-multi/auto/
    • /usr/lib/perl5/vendor_perl/5.12.3/x86_64-linux-thread-multi/auto/Class/
    • /usr/lib/perl5/vendor_perl/5.12.3/x86_64-linux-thread-multi/auto/Class/XSAccessor/
    • /usr/lib/perl5/vendor_perl/5.12.3/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


    2010-07-13 - J?r?me Quelin <> 1.40.0-2mdv2011.0 + Revision: 552004 - rebuild

    2009-07-07 - J?r?me Quelin <> 1.40.0-1mdv2010.0 + Revision: 393095 - update to 1.04

    2009-06-01 - J?r?me Quelin <> 1.30.0-1mdv2010.0 + Revision: 381790 - update to 1.03 - using %%perl_convert_version - fixed license field