bounce_back.pl bug

CommuniMail related questions

Moderator: admin

Message
Author
raylutz
Posts: 11
Joined: Oct 25, 2007 2:46 am

bounce_back.pl bug

#1 Postby raylutz » Oct 25, 2007 2:54 am

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

admin
Site Admin
Posts: 1785
Joined: Mar 22, 2006 12:32 pm

Re: bounce_back.pl bug

#2 Postby admin » Oct 25, 2007 6:56 am

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


That's not error, that's warning. Could be visible on some Perl versions. You can just ignore it.

Thanks

raylutz
Posts: 11
Joined: Oct 25, 2007 2:46 am

Please provide a fix

#3 Postby raylutz » Oct 25, 2007 4:13 pm

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

admin
Site Admin
Posts: 1785
Joined: Mar 22, 2006 12:32 pm

Re: Please provide a fix

#4 Postby admin » Oct 26, 2007 10:30 am

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


Sure, that's not a problem.
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.


Return to “CommuniMail”

Who is online

Users browsing this forum: No registered users and 0 guests