SA Bugzilla – Bug 6463
Warnings with Perl 5.12.1 and deprecated constructs.
Last modified: 2010-07-18 07:18:00 UTC
Use of "goto" to jump into a construct is deprecated at /usr/local/lib/perl5/site_perl/5.12.1/Mail/SpamAssassin/Plugin/Check.pm line 409. defined(%hash) is deprecated at /usr/local/lib/perl5/site_perl/5.12.1/Mail/SpamAssassin/Dns.pm line 757. (Maybe you should just omit the defined()?) Everything works, but each time the perl interpreter hits one of the deprecated constructs, I get a syslog entry, and there's alot of them. The DNS one seems to generate one log entry for every DNS query encountered, and between SPF, DomainKeys, and DNSBLs, there are alot of queries per message. No such messages appeared with Perl 5.12.0 or earlier. Perl has changed, but SA hasn't kept up. If this isn't fixed soon, SA could break as Perl is enhanced.
Already fixed in 3.3(.2) SVN and in 3.4 (trunk). Duplicate of bug 6392. *** This bug has been marked as a duplicate of bug 6392 ***
OK. Sorry. I didn't find that bug when I searched for the problem before reporting it because it didn't reference the version of Perl that it first appeared with (which was 5.12.1, not 5.12.0 nor "5.12") on my system. Could we push version 3.3.2 out before the end of the month? Thanks.
> Could we push version 3.3.2 out before the end of the month? Thanks. I doubt it would be possible in July, people are on vacation right now or in the near future, and there wasn't much activity even in June. Perhaps more likely in August, depending on how we regain momentum. Just use the SVN version if you need any new fixes (3.3), or the 3.4 (trunk) if you need fixes AND new features. Both should be pretty stable and working well in production at some sites.