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
Download (untitled) / with headers
text/plain 427b
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.