From: Peter Rabbitson Date: Thu, 10 May 2012 06:42:23 +0000 (+0200) Subject: Fixor borked docs (we already test for this in t/66-postgres-dbi-parser.t) X-Git-Tag: v0.11012~3 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6a84bf09201d18709c5328fc6c22a68f95c709c8;p=dbsrgits%2FSQL-Translator.git Fixor borked docs (we already test for this in t/66-postgres-dbi-parser.t) --- diff --git a/Changes b/Changes index 45c8d0f..5e020c3 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,5 @@ +* Fix incorrect Parser::DBI documentation (RT#60878) + # ---------------------------------------------------------- # 0.11011 2012-05-09 # ---------------------------------------------------------- diff --git a/lib/SQL/Translator/Parser/DBI.pm b/lib/SQL/Translator/Parser/DBI.pm index 86236ea..7115f74 100644 --- a/lib/SQL/Translator/Parser/DBI.pm +++ b/lib/SQL/Translator/Parser/DBI.pm @@ -18,7 +18,9 @@ SQL::Translator::Parser::DBI - "parser" for DBI handles my $translator = SQL::Translator->new( parser => 'DBI', - dbh => $dbh, + parser_args => { + dbh => $dbh, + }, ); Or: