in reply to Insert records with DBIx::Table

Looking at the module, it sounds like a nice idea, but its only partly done, and hasnt been touched for several years apparently. The actual code shows no special treatment of auto-increment values on INSERT, so I'm guessing the author kind of forgot that bit.. It's also missing most of a test suite..

I suggest you take a peak at Class::DBI which can do all that and more, and is pretty active.

C.

Replies are listed 'Best First'.
Re^2: Insert records with DBIx::Table
by blue_cowdawg (Monsignor) on Aug 11, 2004 at 12:24 UTC

        Looking at the module, it sounds like a nice idea, but its only partly done, and hasnt been touched for several years apparently.

    Yeah... unfortunately that was the conclusion I came to and the email I sent to the author is still sitting in my mailserver's outgoing queue as "connection timed out, retrying for 5 days." Looks like the author has abandoned this module... drat!

    As per your suggestion I am experimenting (successufully I might add) with Class::DBI and freinds. Class::DBI::DATA::Schema is a very cool addition to the mix as well. Being able to embed the table creation code in my Perl source is one of the things I was after as well.