(See prev note)

$dbh->{Driver}->{Name} is the DBD name; 
$dbh->{Name} should be everything after 'dbi:DriverName:'.

I haven't tried anything that uses complex DSNs, but it certainly works
for simple ones, ie, 'dbi:DriverName:hostname'.

Dean

----- Original Message ----- 
From: "Jeff Zucker" <[EMAIL PROTECTED]>
Cc: "DBI-users" <[EMAIL PROTECTED]>
Sent: Friday, May 30, 2003 9:46 AM
Subject: Re: Getting DSN back from $dbh


> Dean Arnold wrote:
> 
> >Isn't that what $dbh->{Name} is for ?
> >
> Sure, if all you want is the name of the DBD.
> 
> -- 
> Jeff

Reply via email to