Object-oriented access to real and tied hashes
http://search.cpan.org/dist/Hash-AutoHash/
This is yet another module that lets you access or change the elements of a
hash using methods with the same name as the element's key. It follows in
the footsteps of Hash::AsObject, Hash::Inflator, Data::OpenStruct::Deep,
Object::AutoAccessor, and probably others. The main difference between this
module and its forebears is that it supports tied hashes, in addition to
regular hashes. This allows a modular division of labor: this class is
generic and treats all hashes the same; any special semantics come from the
tied hash.
Authors:
--------
Nat Goodman
- Sources inherited from project devel:languages:perl
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Tomcat42/perl-Hash-AutoHash && cd $_
- Create Badge
Refresh
Refresh
Source Files
Filename | Size | Changed |
---|---|---|
Hash-AutoHash-1.17.tar.gz | 0000053662 52.4 KB | |
cpanspec.yml | 0000000468 468 Bytes | |
perl-Hash-AutoHash.changes | 0000002041 1.99 KB | |
perl-Hash-AutoHash.spec | 0000003627 3.54 KB |
Latest Revision
Stephan Kulow (coolo)
accepted
request 297271
from
Stephan Kulow (coolo)
(revision 8)
- updated to 1.17 see /usr/share/doc/packages/perl-Hash-AutoHash/Changes 1.17 2013-10-05 No functional changes Updated depdendencies Fixed boilerplate & pod tests 1.16 2012-12-11 Fixed more deprecated syntax: defined @array deprecated in 5.16 or so Fixed tests that were failing because of hash key randomization introduced in 5.16 1.15 2012-09-18 Changed version number in helper package for consistency with other AutoHash modules 1.14 2012-09-02 INCOMPATIBLE CHANGE: no longer possible to use method notation for keys with the same names as methods inherited from UNIVERSAL (the base class of everything). These are 'can', 'isa', 'DOES', and 'VERSION'. The reason is that as of Perl 5.9.3, calling UNIVERSAL methods as functions is deprecated and developers are encouraged to use method form instead. Previous versions of AutoHash are incompatible with CPAN modules that adopt this style. 1.13 2012-09-01 Added test for version number in POD Changed tests to correct errors found by CPAN testers that look like 'deprecated use of qw(...) as parentheses' although the actual error message is 'Global symbol "$test" requires explicit package name'
Comments 0