in reply to Re^2: Global symbol "$prepare" requires explicit package name
in thread Global symbol "$prepare" requires explicit package name
In addition to what poj said, instead of
to see what's going on, write$sth2 = $dbh->prepare("update $what$ever");
Perhaps there's a stray question mark in your $date_newmy $sqltext = "update $what$ever"; print qq(SQL query is: "$sqltext"); $sth2 = $dbh->prepare($sqltext);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Global symbol "$prepare" requires explicit package name
by tukusejssirs (Beadle) on Sep 19, 2019 at 08:09 UTC | |
by hippo (Bishop) on Sep 19, 2019 at 09:05 UTC | |
by soonix (Canon) on Sep 19, 2019 at 10:44 UTC |
In Section
Seekers of Perl Wisdom