[Dbix-class] SQLT & Pg

Amiri Barksdale amiri at metalabel.com
Sat Aug 22 13:55:00 GMT 2009


Hi folks. I am trying to use SQLT's Pg producer to make some diffs for
my classes. When I use Carp::Always in my script, I get the following
get_tables error:

http://scsys.co.uk:8001/32836

So I decided to check out what was happening in the debugger and with
some basic print statements. I printed the contents of the arguments
passed to Producer::Pg just to see why there wasn't a "package or object
reference." The error is thrown in the produce subroutine of
Producer::Pg, so that's where I printed the arguments from:

http://scsys.co.uk:8001/32837

Does this look right? I was surprised to see $translator->{schema}
defined twice.

I'm pretty sure it was ribasushi who recommended that I drop back down
to SQLT version 0.09002, and I did so, getting this same get_tables
error all the way back through all the versions to 0.09001. The above is
back at the most recent.

Amiri



More information about the DBIx-Class mailing list