I've been toying with the listview wrapper idea that I
brought up last week.  I threw together a module to
show off the basic idea, though it needs to be
reworked.  I wanted to make it easy to set up a
listview and keep track of the items by some id.  When
I started writing this, I used the hashref-of-hashrefs
idea like DBI returns from fetchall_hashref() because
it seemed like a good way of matching name/value pairs
up with their respective ids.  The problem with this
is that there currently isn't a good way to sort the
items in the listview because of the nature of
hashing.

If you're interested in having a look, I have the
rough module and a test script here:

http://www.serbin.org/ariel/mms.zip

I can easily fix this up to suit my immediate needs,
but I think that it would be nice to make it more
generic so that it would be helpful to others.  If
anyone has any opinions as to how this could be better
implemented, please offer them up...

-Ariel



Reply via email to