Tuesday, July 28, 2009

More Perl "Hidden Treasures"

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:




No comments: