in reply to Re: no database driver specified and DBI_DSN env var not set at
in thread no database driver specified and DBI_DSN env var not set at

print $dsn;

returns
"dbi:Oracle:host=localhost;sid=nms", 'user', 'password'
which is the results I expected.
As for being horribly wrong... OK? But could you explain?

Replies are listed 'Best First'.
Re^3: no database driver specified and DBI_DSN env var not set at
by Corion (Patriarch) on Aug 08, 2007 at 14:46 UTC

    You need to learn about the difference between a list and a string that looks like a list when printed. Maybe perldata helps you.

    You need to pass a list to DBI->connect(), and not a string that looks like a list when printed. Also, the DSN is not supposed to have quotes in it.

      Sorry... It makes perfect sense now! I must need more coffee this morning.

      Thanks for your patience.