No such thing as a small change | |
PerlMonks |
Re^2: Simple DBI handle caching.by kyle (Abbot) |
on May 11, 2011 at 17:52 UTC ( [id://904207]=note: print w/replies, xml ) | Need Help?? |
I've generated a schema from an existing database before, and I agree it's pretty easy. What it came up with was a tree full of files that described every field of every table in the database. I want to avoid that for a couple of reasons.
All of the work of my little program is done in one table. I have one SELECT and one UPDATE (each run many times with different parameters), and that's it. I'm not doing a ton of ugly stuff that DBIC would save me. Anyway, it looks like DBIx::Connector will do what I want, and my quick hack works too. If DBIx::Class can do the job without tangling me up in future work, I'd love to learn how. As an aside, I'm touched that you remember me after all my absence.
In Section
Seekers of Perl Wisdom
|
|