in reply to Re: Global symbol "$prepare" requires explicit package name
in thread Global symbol "$prepare" requires explicit package name
You’re right. I missed that.
But still it does not work; it throws the following error on $sth2->execute(); line (it was output doubled like this with the same line number):
DBD::Pg::st execute failed: execute called with an unbound placeholder + at ./refresh_dates.pl line nn. DBD::Pg::st execute failed: execute called with an unbound placeholder + at ./refresh_dates.pl line nn.
In Section
Seekers of Perl Wisdom