in reply to DBI->connect fails when password variable used
In your case, when you use $passwd, is that a scalar or ref ?sub connect { ... Carp::croak('Usage: $class->connect([$dsn [,$user [,$passwd [,\%at +tr]]]])') if (ref $old_driver or ($attr and not ref $attr) or ref $pass);
What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?
-Larry Wall, 1992
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBI->connect fails when password variable used
by fmagee (Novice) on Oct 27, 2014 at 15:29 UTC | |
by Corion (Patriarch) on Oct 27, 2014 at 15:41 UTC | |
by fmagee (Novice) on Aug 10, 2015 at 17:00 UTC |