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

Re: DBI::db error I am confused!

by kcott (Bishop)
on Jan 04, 2021 at 01:48 UTC ( #11126255=note: print w/replies, xml ) Need Help??


in reply to DBI::db error I am confused!

G'day traincity,

I suspect you're doing something like this:

my $dbh = DBI->connect(...); my $sth = $dbh->prepare(...); ... $dbh->finish();

As already pointed out by others, you probably don't need to use finish(). Please read the relevant documentation: "DBI: finish".

If, after reading the documentation, you decide that you do need to use finish(), it should be written like this:

$sth->finish();

You've been asked to show us your code more than once. Kindly ensure you do this before asking any further questions. As it is, we're working in the dark and just making guesses.

— Ken

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2021-04-20 10:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?