I receive this error when I run bouce_back.pl as a cron job:
"my" variable $sth masks earlier declaration in same scope at clibs/SQL/CMAIL/User.pm line 157.
Do I have a bad version of the program?
--Raymond
CommuniMail - bounce_back.pl bug
Re: bounce_back.pl bug
That's not error, that's warning. Could be visible on some Perl versions. You can just ignore it.raylutz wrote:I receive this error when I run bouce_back.pl as a cron job:
"my" variable $sth masks earlier declaration in same scope at clibs/SQL/CMAIL/User.pm line 157.
Do I have a bad version of the program?
--Raymond
Thanks
Please provide a fix
I would rather not get this email each time the cron job is run. I'm sure there is a way to correct the code to correct this. Perhaps you would like to make a suggested change to the perl code. I don't mind editing the file to get rid of this boo-boo.
--Raymond
--Raymond
Re: Please provide a fix
Sure, that's not a problem.raylutz wrote:I would rather not get this email each time the cron job is run. I'm sure there is a way to correct the code to correct this. Perhaps you would like to make a suggested change to the perl code. I don't mind editing the file to get rid of this boo-boo.
--Raymond
Find line 157 of User.pm (clibs/CMAIL/SQL/User.pm) you will see that it starts with "my $sth". Just remove "my" from there.
Thanks for letting us know, anyway.