Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I like to look at database issues but I've never used this module. It looks pretty awesome. So as curious as I was I decided to try it. In order to replicate the issue I made a little sample script. When I tried to use: $oDB_Comparison->deep_compare(@aTable_Names);I get several errors that are very familiar to me from some work with DBIx::Class. You need to have tables defined a certain way in DBIx::Class for the deep->compare to work (or so it seems to me). But you can use the basic compare without seeing the errors:
Also, unless I have this line in my code:
no results print, so you want to add that in I think. You need to check your definition of $dbh1 and $dbh2 like mje said.
Also see DBIx::Class
In reply to Re^2: Even though there are two separate database handles error shows need two separate database handles to compare
by wallisds
|
|