Skip Menu |

This queue is for tickets about the DBIx-DBH CPAN distribution.

Report information
The Basics
Id: 18027
Status: resolved
Worked: 1 min
Priority: 0/
Queue: DBIx-DBH

People
Owner: Nobody in particular
Requestors: mark [...] summersault.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



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