Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^4: Class::DBI weirdness sql error

by trwww (Priest)
on Mar 04, 2009 at 02:42 UTC ( [id://747975]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Class::DBI weirdness sql error
in thread Class::DBI weirdness sql error

I'll concede that Class::DBI doesn't abstract the database perfectly. Not even close. But CDBI abstracts a database well enough to be extremely useful when used within its constraints. When I see someone suggesting otherwise, I feel compelled to respectfully object.

To keep the talk technical, It seems that your main complaint is that CDBI "gets in the way..." Whenever CDBI is getting in your way, you simply do a:

my $dbh = CDBI::SubClass->db_Main

and you are back to doing plain database calls. So at the very least, it is a very handy database connection manager.

Regards,

Replies are listed 'Best First'.
Re^5: Class::DBI weirdness sql error
by JavaFan (Canon) on Mar 04, 2009 at 10:17 UTC
    Oh, I'm quite aware how to "get around" Class::DBI. I do that all the time. That's I'm doing it all the time says enough, doesn't? ;-)

    And I still maintain that it doesn't abstract the database one iota. I won't deny you (and many others) find it useful, but that doesn't mean it abstracts the database.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://747975]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-20 00:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found