The Perl 5 module Class::XSAccessor::Array implements fast read, write and read/write accessors in XS. Additionally, it can provide predicates such as has_foo() for testing whether the attribute foo is defined in the object. It works only with objects that are implemented as arrays.