maintainer-feedback requested: [Bug 214617] mail/p5-Mail-Alias: library no longer works on perl5.24
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Nov 18 04:21:39 UTC 2016
takeda at takeda.tk has reassigned Bugzilla Automation <bugzilla at FreeBSD.org>'s
request for maintainer-feedback to perl at FreeBSD.org:
Bug 214617: mail/p5-Mail-Alias: library no longer works on perl5.24
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214617
--- Description ---
With perl5.20 the perl was issuing a warning but continued to work, after
upgrade to 5.24 the warning changed into an error that looks like this:
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at
/usr/local/lib/perl5/site_perl/Mail/Alias.pm line 85.
Compilation failed in require at ./bogofilter-milter.pl line 335.
BEGIN failed--compilation aborted at ./bogofilter-milter.pl line 335.
I'm not too familiar with perl but changing:
croak "Unknown format '$fmt'"
unless defined @{$pkg . "::ISA"};
into:
croak "Unknown format '$fmt'"
unless defined $pkg . "::ISA";
Seems to solve the issue for me.
More information about the freebsd-perl
mailing list