Class::XSAccessor - Generate fast XS accessors without runtime compilation River stage three • 79 direct dependents • 846 total dependents

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" exists in the object (which is different from "is defined within the obj...

SMUELLER/Class-XSAccessor-1.19 - 22 Nov 2013 06:17:14 GMT

Class::XSAccessor::Array - Generate fast XS accessors without runtime compilation River stage three • 79 direct dependents • 846 total dependents

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 object...

SMUELLER/Class-XSAccessor-1.19 - 22 Nov 2013 06:17:14 GMT

Class::XSAccessor::Compat - Class::Accessor::Fast compatible interface for Class::XSAccessor River stage one • 1 direct dependent • 1 total dependent

"Class::XSAccessor::Compat" implements a compatibility layer for Class::Accessor::Fast on top of Class::XSAccessor. It should work exactly the same way as "Class::Accessor::Fast". If you find that is not the case, please report your findings as a bug...

SMUELLER/Class-XSAccessor-Compat-0.01 - 17 Sep 2010 14:37:27 GMT

Class::MaybeXSAccessor - Generate accessors/constructor River stage zero No dependents

EARLY, EXPERIMENTAL. This module can be used to generate accessors/constructor. It will use Class::XSAccessor if available, falling back to Class::Accessor. Note that not all features from Class::Accessor nor Class::XSAccessor are supported....

PERLANCAR/Class-MaybeXSAccessor-0.001 - 04 May 2016 14:34:57 GMT

Class::Accessor::Fast::XS - XS replacement for Class::Accessor::Fast River stage one • 1 direct dependent • 1 total dependent

This module is a XS based replacement for Class::Accessor::Fast. Just replace Class::Accessor::Fast with Class::Accessor::Fast::XS and it should just work. Read Class::Accessor::Fast and Class::Accessor for API docs and usage. XS is about performance...

RUZ/Class-Accessor-Fast-XS-0.04 - 04 Dec 2010 21:55:55 GMT

Class::Accessor::Inherited::XS - Fast XS inherited, object and class accessors River stage one • 2 direct dependents • 2 total dependents

This module provides a very fast implementation for a wide range of accessor types. inherited accessors have been introduced by Class::Accessor::Grouped. They allow you to override values set in a parent class with values set in childs or object inst...

RANDIR/Class-Accessor-Inherited-XS-0.36 - 15 Sep 2018 21:27:07 GMT

lib/Class/Accessor/Inherited/XS/Compat.pm River stage one • 2 direct dependents • 2 total dependents

RANDIR/Class-Accessor-Inherited-XS-0.36 - 15 Sep 2018 21:27:07 GMT

Class::Slot - Simple, efficient, comple-time class declaration River stage one • 1 direct dependent • 1 total dependent

Similar to the fields pragma, "slot" declares individual fields in a class, building a constructor and slot accessor methods. Although not nearly as full-featured as other solutions, "Class::Slot" is light-weight, fast, works with basic Perl objects,...

JEFFOBER/Class-Slot-0.06 - 07 Dec 2018 19:38:14 GMT

Class::Std::Fast_XS - speed up Class::Std::Fast by adding some XS code River stage zero No dependents

Speeds up Class::Std::Fast by replacing it's accessors/mutators and DESTROY method by XS variants. The speed gain varies by platform: Using perl 5.8.8 on Ubuntu 8.04 (32bit) Linux, the measured speed gain is around 7.5% for accessors (getters) and ar...

MKUTTER/Class-Std-Fast_XS-0.3 - 26 May 2008 19:16:10 GMT

Class::XSConstructor - a super-fast (but limited) constructor in XS River stage one • 1 direct dependent • 1 total dependent

Class::XSAccessor is able to provide you with a constructor for your class, but it's fairly limited. It basically just does: sub new { my $class = shift; bless { @_ }, ref($class)||$class; } Class::XSConstructor goes a little further towards Moose-li...

TOBYINK/Class-XSConstructor-0.009 - 07 Jan 2019 14:35:56 GMT

Class::Accessor::Array - Generate accessors/constructor for array-based object River stage two • 3 direct dependents • 12 total dependents

This module is a builder for array-backed classes. You can change the constructor name from the default "new" using the "constructor" parameter. Currently the built constructor does not accept parameters to set the attributes, e.g.: my $obj = Your::C...

PERLANCAR/Class-Accessor-Array-0.031 - 27 Aug 2017 02:46:12 GMT

Class::Accessor::Grouped - Lets you build groups of accessors River stage three • 32 direct dependents • 536 total dependents

This class lets you build groups of accessors that will call different getters and setters. The documentation of this module still requires a lot of work (volunteers welcome >.>), but in the meantime you can refer to this post <http://lo-f.at/glahn/2...

HAARG/Class-Accessor-Grouped-0.10014 - 01 Jul 2018 19:30:58 GMT

Class::Build::Array::Glob - Generate Class accessors/constructor (array-based object, supports globbing attribute) River stage zero No dependents

This module is a class builder for array-backed classes. With it you can declare your attributes using Moose-style "has". Only these "has" predicates are currently supported: "is" (ro/rw), "glob" (bool). Array index will be determined by the order of...

PERLANCAR/Class-Build-Array-Glob-0.01 - 27 Mar 2016 04:42:45 GMT

Class::Accessor::Array::Glob - Generate accessors/constructor for array-based object (supports globbing attribute) River stage two • 1 direct dependent • 10 total dependents

This module is a builder for array-backed classes. It is the same as Class::Accessor::Array except that you can define your last (in term of the index in array storage) attribute to be a "glob attribute", meaning it is an array where its elements are...

PERLANCAR/Class-Accessor-Array-Glob-0.01 - 28 Mar 2016 17:12:46 GMT

Class::Accessor::Array::Slurpy - Generate accessors/constructor for array-based object (supports slurpy attribute) River stage one • 1 direct dependent • 2 total dependents

This module is a builder for array-backed classes. It is the same as Class::Accessor::Array 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 a...

PERLANCAR/Class-Accessor-Array-Slurpy-0.020 - 13 Sep 2017 08:24:06 GMT

15 results (0.038 seconds)