Skip to content

Commit 74b996f

Browse files
MidLifeXistheory
authored andcommitted
Correct example
Example uses `$uri->pass`, should be `$uri->password`
1 parent 46c8ce2 commit 74b996f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/URI/db.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ if one is known. Returns C<undef> if no driver is known.
267267
268268
=head3 C<dbi_dsn>
269269
270-
DBI->connect( $uri->dbi_dsn, $uri->user, $uri->pass );
270+
DBI->connect( $uri->dbi_dsn, $uri->user, $uri->password );
271271
272272
Returns a L<DBI> DSN appropriate for use in a call to C<< DBI->connect >>. The
273273
attributes will usually be pulled from the URI host name, port, and database

0 commit comments

Comments
 (0)