Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: DBI driver name from database handle

by liz (Monsignor)
on Oct 20, 2003 at 15:17 UTC ( #300615=note: print w/ replies, xml ) Need Help??


in reply to Re: DBI driver name from database handle
in thread DBI driver name from database handle

$dbh->{Name} gives me the name of the database, rather than the database driver.

3dan's way seems to be the correct one $dbh->{Driver}{Name}.

Of course, when you try to do a each on the $dbh object, you don't get a listing of the possible values. Too bad.

Liz


Comment on Re: Re: DBI driver name from database handle
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://300615]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2014-12-20 08:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls