Hi,
>
> 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.
>
Actually $_ is a class tied into DBIx::Recordset::Row. This let you do
things like
$_->{field} = 'foo' ;
and it get's written back into the database. So you can subclass this class
with your own one.
Currently the class name of the row class is hardcoded in the methods
DBIx::Recordset::STORE/FETCH, but it shouldn't be to hard to pass it as a
parameter when setting up a new DBIx::Recordset object.
Patches are always welcome
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------