Date: Fri, 18 Nov 2016 04:21:38 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 214617] mail/p5-Mail-Alias: library no longer works on perl5.24 Message-ID: <bug-214617-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214617 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@FreeBSD.org Reporter: takeda@takeda.tk Flags: maintainer-feedback?(perl@FreeBSD.org) Assignee: perl@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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214617-13>