[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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214617
Bug ID: 214617
Summary: mail/p5-Mail-Alias: library no longer works on
perl5.24
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: perl at FreeBSD.org
Reporter: takeda at takeda.tk
Flags: maintainer-feedback?(perl at FreeBSD.org)
Assignee: perl at FreeBSD.org
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-perl
mailing list