The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Search results for "module:Class::ArrayObjects"

Class::ArrayObjects - utility class for array based objects River stage one • 1 direct dependent • 2 total dependents

This module is little more than a cute way of defining constant subs in your own package. Constant subs are very useful when dealing with array based objects because they allow one to access array slots by name instead of by index. Why use arrays for...

RONAN/Class-ArrayObjects-1.03 - 14 Apr 2008 06:54:58 UTC

Chj::Class::Array - array based perl objects (deprecated) River stage zero No dependents

So you don't like objects based on hashes, since all you can do to prevent mistakes while accessing object data is to create accessor methods which are slow and inconvenient (and you don't want to use depreciated pseudohashes either) - what's left? S...

PFLANZE/FunctionalPerl-0.72.76 - 22 Jan 2023 15:12:41 UTC

Class::Accessor::Array - Generate accessors/constructor for array-based object River stage two • 4 direct dependents • 18 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.032 - 03 Aug 2021 02:49:02 UTC

Class::Build::Array::Glob - Generate Class accessors/constructor (array-based object, supports globbing attribute) River stage one • 1 direct dependent • 1 total dependent

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 UTC

Class::Accessor::Array::Glob - Generate accessors/constructor for array-based object (supports globbing attribute) River stage two • 2 direct dependents • 16 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 UTC

Class::Accessor::Array::Slurpy - Generate accessors/constructor for array-based object (supports slurpy attribute) River stage one • 2 direct dependents • 3 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 UTC
6 results (0.037 seconds)