The error message is:
Undefined subroutine &main::execute called at ...
This originates from this line:
$sth = execute(...)
That's not how you should call the ->execute method of a statement handle. Use $sth->... as you do everywhere else.
|Replies are listed 'Best First'.|
Re^2: not able to insert data in database using perl DBI
by Anonymous Monk on Dec 08, 2016 at 14:29 UTC
by fishmonger (Chaplain) on Dec 08, 2016 at 15:36 UTC