On Tue, 11 May 2010 21:52:47 +0100, Rob Kinyon <[email protected]>
wrote:
On Tue, May 11, 2010 at 16:01, Chris Cole <[email protected]>
wrote:
Gives this error:
Warning - transaction failed and rolling back:
DBIx::Class::Schema::txn_do(): Can't locate object method "do" via
package
"DBIx::Class::Storage::DBI::Oracle::Generic" at
/homes/ccole/projects/workspace/NGSdb/load_drs_data.pl line 176.
Any ideas why $dbh-do() is failing?
Maybe reading the documentation instead of relying purely on my advice
would be a good plan.
If you'd put a caveat, maybe I would have looked harder. I did search for
the docs, but couldn't find them.
http://search.cpan.org/~frew/DBIx-Class-0.08121/lib/DBIx/Class/Storage/DBI.pm#dbh_do
$storage->dbh_do( sub {
my ($storage, $dbh, @args) = @_;
....
}, @args );
Thanks.
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]