Perrin,

This looks great... nice and simple.  I have two suggestions, though:

1) Should consider using Cache::Cache, so that people have the option of
using files, memory, shared memory, etc. for the cache.

2) I like the idea of having multiple keys, but you've got an ambiguous
join algorithm. How can you distinguish key='foo', value='bar=baz' from
key='foo=bar', value='baz'?  Maybe a dumbed-down XML-ish string like
"<foo>bar=baz</foo><foo2>value2</foo2>" would be safer?

++t


On Wed, 1 Aug 2001, Perrin Harkins wrote:

> Here's my first draft.  I'm including the module and a test script.  Go
> wild.  If this turns into something legit, I'll put it on CPAN.
> - Perrin

Tony Payne  :  Sr. Software Engineer  :  PETsMART.com  :  626-817-7151



Reply via email to