Subject: | PATCH: doc typo with ::connect vs ->connect |
The documentation suggests using DBIx::DBH::connect(), but that
doesn't work, because connect_data() expects an OO syntax, and so
treats the first arg as an object or class.
This patch repairs the docs to match the code:
diff -rN old-DBIx-DBH-0.09/lib/DBIx/DBH.pm
new-DBIx-DBH-0.09/lib/DBIx/DBH.pm
133c133
< my $dbh = DBIx::DBH::connect(%dat, %opt) ;
---
Show quoted text
> my $dbh = DBIx::DBH->connect(%dat, %opt) ;
Mark