Subject: | Unitialised variable in server.pm |
Hi;
My system is:
Windows XP SP1
ActiveState perl v5.8.4 built for MSWin32-x86-multi-thread
Mail-BulkMail version 3.11
When sending a list of messages got the following error.
Use of uninitialized value in subtraction (-) at C:/Perl/site/lib/Mail/Bulkmail/
Server.pm line 843, <HANDLE6> chunk 144.
When I check out this line it appears that the uninitialized variable is $attempts.
Line 843: my $next_attempts = $attempts - 1;
A bit of searching for that variable found this line
Line 785: my $attempts= shift || $self->talk_attempts;
I believe that this needs a a space before the =. We have not tested this as we managed to finish sending our list, but it seems logical to me.
Please note that I am not a perl guru, so I may be competely and utterly wrong.
Cheers
Roger