Google came up trumps eventually,
my $driver=dbh->{Driver}->{Name};
Regards
Marty
- Original Message -
From: "Martin Moss" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, August 25, 2002 5:24 PM
Subject: $dbh drivername
> All,
>
> I've been hunting
All,
I've been hunting through the docs but not found anything useful.
What I want to do is find out what the DriverName is for a $dbh connection.
e.g. the $driver that DBI used to create the $dbh connection.
ideally a method like this is what I'm after:-
my $database_driver=$dbh->driver_name();