Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: DBI Disconnect does nothing!

by dHarry (Abbot)
on Jun 08, 2009 at 09:21 UTC ( [id://769433]=note: print w/replies, xml ) Need Help??


in reply to DBI Disconnect does nothing!

What does

$dbh->disconnect or warn "Disconnection failed: $DBI::errstr\n";
gives?

Replies are listed 'Best First'.
Re^2: DBI Disconnect does nothing!
by Anneq (Vicar) on Jun 08, 2009 at 12:55 UTC

    $DBI::errstr gives the actual database error message from the last DBI method called. See DBI.pm for more information.

      Hi :) expresspotato needs to insert that code in his program, and report us the error message :)

        Yes, expresspotato needs to put that in his code and report back. I was responding to dHarry, whose question seemed to be more like "what is this?", rather than "what does this do when you try it?".

        Interestingly enough though, my response got a bunch of down votes. I wouldn't down vote someone who was genuinely trying to help but misinterpreted a question. Seems pretty counter productive to me in that it could discourage people from trying to help out.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-26 04:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found