Bug 61609 - spamassassin now requires Perl 5.8
Summary: spamassassin now requires Perl 5.8
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mathieu Arnold
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-20 05:20 UTC by Lowell Gilbert
Modified: 2004-01-20 17:30 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lowell Gilbert 2004-01-20 05:20:20 UTC
p5-Mail-SpamAssassin now fails with the stock perl in -STABLE

This change came in the update from Mail-SpamAssassin 2.61 to 2.62.

Fix: 

I suppose the obvious solution would be to require perl 5.8, but that
doesn't seem very friendly...

The particular subscript in question should be easy enough to avoid,
but there seem to be other 5.8isms introduced also.  I'll look further
when I get a chance, but perl is not exactly my preferred language.
How-To-Repeat: 	

Running the latest ports version of SpamAssassin on a -STABLE system,
a perl error results:

Can't use subscript on split at /usr/local/lib/perl5/site_perl/5.005/Mail/SpamAssassin.pm line 100, near "1]"
Comment 1 Mathieu Arnold freebsd_committer freebsd_triage 2004-01-20 09:52:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mat

I'm the one responsible for this mess
Comment 2 Mathieu Arnold freebsd_committer freebsd_triage 2004-01-20 17:29:48 UTC
State Changed
From-To: open->closed

fix committed