FPs and SA 3.2.0

Paul Bijnens Paul.Bijnens at xplanation.com
Mon May 21 13:47:14 IST 2007


On 2007-05-16 17:41, Julian Field wrote:
> I'll put it in the main codebase then. Perl has some very subtle bugs in 
> it...

I believe I don't need to teach perl to Julian (rather the other way
around :-) ), but anyway...

>>>>       
>>>>>   # JKF 3/10/2005
>>>>>   my $temp = @HitList;
>>>>>   $temp = $temp + 0;
>>>>>   $temp = 0 unless $HitList[0] =~ /a-z/i;
>>>>>   return ($temp, join(', ', @HitList));
>>>>> }
>>>>>
>>>>> Let's see if that helps. According to the book, the 2 middle lines
>>>>> shouldn't be needed at all.

To me this seems like the array @HitList contains an empty or undef
value.  The match against "/[a-z]/i"   (or was that really intended
"/a-z/i"??) just hides the source of the real error: getting an empty
value for RBL name.
Now finding out where the empty value is coming from, is -- at my
current understanding of the code -- not yet successful.


-- 
Paul Bijnens, xplanation Technology Services        Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens at xplanation.com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, ^^, *
* F6, quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* init 0, kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************



More information about the MailScanner mailing list