d32a34a200
Hashes with accessors/mutators PR: 101017
8 lines
400 B
Text
8 lines
400 B
Text
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/
|