Hi

I'm in doubt if DBIx::Recordset is what I need. It has a lot going for it, for 
one thing it works well with Embperl :-) But I do have some doubt.

I thought I could do something like this:

    $set = DBIx::Recordset -> SetupObject ({
      '!DataSource'   => $db
    });
    $set -> Begin;
    ...
    $set -> Update ({%values,
     ('!Table' => 'ar_journal',
      '!Fields' => \%values,
       '\paid'  => "paid + $paid",
      '!PrimKey' => 'ar_id'
     )}
    $set -> Commit;
    DBIx::Recordset::Undef ('set');

i.e. use DBIx::Recordset to hide the uglyness of DBI. Insted I find that I 
have to let it glob into my module's vars. Am I using it wrong, or do I 
expect something that it was not intended to do?

Another item is that I tend to get a lot of error reporting, even though I 
think I call it correctly.

Use of uninitialized value in numeric gt (>) at 
/usr/lib/perl5/site_perl/5.6.1/DBIx/Recordset.pm line 3864.
Use of uninitialized value in numeric gt (>) at 
/usr/lib/perl5/site_perl/5.6.1/DBIx/Recordset.pm line 3933.
Use of uninitialized value in anonymous hash ({}) at 
/usr/lib/perl5/site_perl/5.6.1/DBIx/Recordset.pm line 3956.

-- 
Kaare Rasmussen            --Linux, spil,--        Tlf:        3816 2582
Kaki Data                tshirts, merchandize      Fax:        3816 2501
Howitzvej 75               �ben 12.00-18.00        Email: [EMAIL PROTECTED]
2000 Frederiksberg        L�rdag 12.00-16.00       Web:      www.suse.dk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to