Date: Fri, 18 Nov 2016 04:21:38 +0000 From: bugzilla-noreply@freebsd.org To: perl@FreeBSD.org Subject: maintainer-feedback requested: [Bug 214617] mail/p5-Mail-Alias: library no longer works on perl5.24 Message-ID: <bug-214617-14331-VxmRyRqjuH@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-214617-14331@https.bugs.freebsd.org/bugzilla/> References: <bug-214617-14331@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
takeda@takeda.tk has reassigned Bugzilla Automation <bugzilla@FreeBSD.org>'s request for maintainer-feedback to perl@FreeBSD.org: Bug 214617: mail/p5-Mail-Alias: library no longer works on perl5.24 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D214617 --- 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214617-14331-VxmRyRqjuH>