Name : perl-Hash-AutoHash
| |
Version : 1.170.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.1.1
| Date : 2024-07-23 22:33:11
|
Group : Unspecified
| Source RPM : perl-Hash-AutoHash-1.170.0-lp156.1.1.src.rpm
|
Size : 0.07 MB
| |
Packager : https://www_suse_com/
| |
Summary : Object-oriented access to real and tied hashes
|
Description :
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.
The class has a \'new\' method but also supplies several functions for constructing new Hash::AutoHash objects.
The constructor functions shown in the SYNOPSIS are all you need for typical uses. autohash_hash creates a new \'real\' (ie, not tied) Hash::AutoHash object; autohash_tie creates a new tied Hash::AutoHash object. Once the objects are constructed, the class treats them the same way.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/15.6/noarch |