Fixor borked docs (we already test for this in t/66-postgres-dbi-parser.t)
Peter Rabbitson [Thu, 10 May 2012 06:42:23 +0000 (08:42 +0200)]
Changes
lib/SQL/Translator/Parser/DBI.pm

diff --git a/Changes b/Changes
index 45c8d0f..5e020c3 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,5 @@
+* Fix incorrect Parser::DBI documentation (RT#60878)
+
 # ----------------------------------------------------------
 # 0.11011 2012-05-09
 # ----------------------------------------------------------
index 86236ea..7115f74 100644 (file)
@@ -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: