Interesting Error - Can't use string ("1909") as an ARRAY ref while "strict refs" in use

Drew Marshall drew.marshall at trunknetworks.com
Sun Mar 8 15:25:09 GMT 2009


----- "Julian Field" <MailScanner at ecs.soton.ac.uk> wrote:

> Okay, try changing your line 509 to say this instead:
> while(${@{$body}}[$#{@$body}] !~ /^\s*$/) {
> That does at least compile ( sorry about that :-(

No worries. You are right it does compile but..

MailScanner --debug
In Debugging mode, not forking...
Trying to setlogsock(unix)
Building a message batch to scan...
Have a batch of 5 messages.
max message size is '250000 trackback'
Can't use string ("76") as an ARRAY ref while "strict refs" in use at /usr/share/MailScanner//MailScanner/PFDiskStore.pm line 509.

:-(

Drew


More information about the MailScanner mailing list