https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8245
Sidney Markowitz <sid...@sidney.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|Undefined |4.0.2 Severity|normal |trivial --- Comment #2 from Sidney Markowitz <sid...@sidney.com> --- More testing of perl -e 'use strict; my $files; my $foo = sort {$a // 0 <=> $b // 0} @{$files};' With perl 5.16.3 and 5.18.4 is outputs Can't use an undefined value as an ARRAY reference at -e line 1. With perl 5.20.3 and newer it doesn't output that. The release notes for 5.20.0 mention a change in the treatment of arguments to sort that is probably what makes the difference. The following eliminates the warning in the older versions and doesn't change the results in newer versions: perl -e 'use strict; my $files; my $foo = sort {$a // 0 <=> $b // 0} @{$files // []};' I'll make that change in DMARC.pm It is only a warning in the log, not an error, and doesn't effect the results. -- You are receiving this mail because: You are the assignee for the bug.