in reply to Class::DBI -- does it get any easier?

Having just switched from Class::DBI to Tie::DBI for one app in which CDBI was giving me errors, and nobody seemed inclined to help me figure out why, I'm going to answer 'yes' to this question. At least for easy reading of and updating of data, theres no need for all the setup rigamarole with this module, just point it at the table, tell it the primary key (it needs a single one), and it works. To insert new rows however, you need to grab the dbh and use DBI. Nothing's perfect ,)

C.

  • Comment on Re: Class::DBI -- does it get any easier?

Replies are listed 'Best First'.
Re^2: Class::DBI -- does it get any easier?
by geektron (Curate) on Jun 28, 2005 at 20:21 UTC
    this is an old thread, but would that Tie::DBI error have anything to do w/ :
    Can't locate Encode/ConfigLocal.pm in @INC

    i decided cpan::Tie::DBI looked much easier than Class::DBI for a new project, but cpan::Tie::DBI keeps kicking that error at me, even though i can find no such module on CPAN.