mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
d32a34a200
Hashes with accessors/mutators PR: 101017
9 lines
400 B
Plaintext
9 lines
400 B
Plaintext
A Hash::AsObject is a blessed hash that provides read-write access to its
|
|
elements using accessors. (Actually, they're both accessors and mutators.)
|
|
|
|
It's designed to act as much like a plain hash as possible; this means,
|
|
for example, that you can use methods like DESTROY and if the Hash::AsObject
|
|
has an element with that name, it'll get or set it.
|
|
|
|
WWW: http://search.cpan.org/dist/Hash-AsObject/
|