Package : perl-Class-XSAccessor > RPM : perl-Class-XSAccessor-1.190.0-21.mga10.x86_64.rpm

Basic items

Install
Name perl-Class-XSAccessor
Version 1.190.0
Release 21.mga10
URL https://metacpan.org/release/Class-XSAccessor
Group Development/Perl
Summary Generate fast XS accessors without runtime compilation
Size 126KB
Arch x86_64
License GPL+ or Artistic

Description

Class::XSAccessor 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 only works with
objects that are implemented as ordinary hashes. the
Class::XSAccessor::Array manpage implements the same interface for objects
that use arrays for their internal representation.

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:

sub new {
my $class = shift;
return bless { @_ }, ref($class)||$class;
}

Media information

Distribution release Mageia cauldron
Media name core-release
Media arch x86_64

Advanced items

Source RPM perl-Class-XSAccessor-1.190.0-21.mga10.src.rpm
Build time 2023-11-26 22:52:56
Changelog View in Sophie
Files View in Sophie
Dependencies View in Sophie