| View previous topic :: View next topic |
| Author |
Message |
raylutz
Joined: 25 Oct 2007 Posts: 11
|
Posted: Oct 25, 2007 2:54 am Post subject: bounce_back.pl bug |
|
|
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 |
|
| Back to top |
|
 |
admin Site Admin
Joined: 22 Mar 2006 Posts: 130
|
Posted: Oct 25, 2007 6:56 am Post subject: Re: bounce_back.pl bug |
|
|
| 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 |
|
| Back to top |
|
 |
raylutz
Joined: 25 Oct 2007 Posts: 11
|
Posted: Oct 25, 2007 4:13 pm Post subject: 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 |
|
| Back to top |
|
 |
admin Site Admin
Joined: 22 Mar 2006 Posts: 130
|
Posted: Oct 26, 2007 10:30 am Post subject: Re: Please provide a fix |
|
|
| 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. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|