https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8245

Sidney Markowitz <sid...@sidney.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sid...@sidney.com

--- Comment #1 from Sidney Markowitz <sid...@sidney.com> ---
I can reproduce it in an email that has a valid authres with no spf and a dkim
that has a result other than pass. However, the warning message is only in
older perls.

$ perlbrew list
* perl-5.38.2                               
  perl-5.18.4                               
$ perl -e 'use strict; my $files; my $foo = sort {$a // 0 <=> $b // 0}
@{$files};'
$ perl -e 'use strict; my $files; my $foo = sort {$a <=> $b} @{$files};'
Can't use an undefined value as an ARRAY reference at -e line 1.
$ perlbrew switch 5.18.4
$ perl -e 'use strict; my $files; my $foo = sort {$a <=> $b} @{$files};'
Can't use an undefined value as an ARRAY reference at -e line 1.
$ perl -e 'use strict; my $files; my $foo = sort {$a // 0 <=> $b // 0}
@{$files};'
Can't use an undefined value as an ARRAY reference at -e line 1.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to