Hash::Util
This gives you some very nice options - such as locking a hash so that no more keys can be added! Seems like a very nice way to avoid some typos!
Also look at
Class::Struct
That could come in handy to make some quick little objects without messing around with the constructor and accessors. Maybe it is possible to use Hash::Util with it to make it "read-only"???
See:
Hidden Treasures of the Perl Core, part II
By Casey West
June 19, 2003
By Casey West
June 19, 2003
No comments:
Post a Comment