On 12/18/2003 12:25 AM, Andrew Sterling Hanenkamp wrote:

"Wrapping hashes with arbitrary inflate/deflate methods."

This is a tool that adds syntactic sugar to hashes. I developed it for
the purpose of making complicated storage in hashes tied to DBM files
nicer. It doesn't matter if you use CGI::query_string, Storable,
join/split, pack/unpack, or even just use this to do some kind of wacky
filtering, this tool isn't a marshalling tool, it is a syntax helper.

What I want to know is, is Tie::HashWrapper a good name? If you don't
like that name, what might you call it? HashWrapper sounds kind of dorky
to me, but that's what first came to mind and I didn't want to spend all
day trying to name it, I wanted to play code monkey.

It's a horrible name. Sorry. :-)


The name needs to say what it is or what it's for, not how it's done. Some people hate the Tie namespace (I'm one of them), but it has become "standard" for tied modules. So:

Tie::MLDBM::Any_* (something)
 or
Tie::MLDBM::Custom_* (something)

where * says something about having custom marshalling methods. (Store|Marshall|Format|Dump|Load|Stow|...)

Regards,
Randy.



Reply via email to