FPs and SA 3.2.0

Julian Field MailScanner at ecs.soton.ac.uk
Tue May 15 15:58:31 IST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Leland J. Steinke wrote:
> Julian Field wrote:
>>
>>   # 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.
>
> Why not "my $temp = scalar(@HitList);"?
That should be the exact equivalent of "$temp = @HitList" as $temp is a 
scalar anyway.

Jules

- -- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk



-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.6.1 (Build 1012)
Charset: UTF-8

wj8DBQFGScqmEfZZRxQVtlQRAk0fAKDkHKSy1XfSr7NmFl7exuiR5RJmGgCcC79L
BZI+vdG3BNijd2m6HIXK/zA=
=311a
-----END PGP SIGNATURE-----

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list