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 UTCSo 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.32 - 12 Sep 2020 13:27:01 UTCThis 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 UTCThis 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 UTCThis 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 UTCThis 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