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 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();
>
> I can't find anything on the DBI::db class that DBI returns on a connect
to
> help with this.
>
> Regards
>
> Marty
>
>
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to