Howdy folks. This is my first post to this list (I'm a brand new
subscriber) though I've been using DBI for a while now.
I have a question regarding DBIx::Recordset. A module I downloaded just
today.
Firstly, this module will be of great use in something I'm building but
it would be of even greater use if I could extend it. I'm just not sure
where to start or how to go about doing so.
Currently DBIx::Recordset allows me to tie an array to an instance of
the class. This is great and it allows me to do:
print $_->{field} foreach (@$recordset);
etc.
However, what I _really_ want to do is somehow join together an
Object/Class that represents a row of data and the functionality of
DBIx::Recordset. So in the above code $_ would be a blessed reference
to a class I specify (somewhere in the creation of the DBIx::Recordset)
rather than just a hash.
I'm thinking that I could somehow co-opt or subclass
DBIx::Recordset::Hash or DBIx::Recordset::CurrRow or something. Would
that be a good place to start?
Help and pointers would be appreciated.
Regards
--
Oliver Jones - [EMAIL PROTECTED] - Mobile: +64-21-41-2238
- Deeper Design Limited - http://www.deeperdesign.com