Hi,
I'm using DBI to connect to my database, like this "$oDbc = DBI->connect("dbi:Informix:$sDatabase",...). What I am having difficulties with is finding out what is stored in $oDbc. When I use the debug I get DBI::db=HASH(...) which I expect. But I can't figure out how to see what is stored in the hash. The reason I require it is I am thinking of putting this call in a loop, instead of bombing out if it doesn't connect, I sleep a while and give it another go. I therefore need to see the two instances of connected and not. from this I can make a decision on whether it is connected or will need retried. I will also put a counter within the loop so it only fails so many times. I've been searching and can't find how to do it. Please can someone enlighten me. Many thanks.