Subject: | make test fails |
HTML-FromText-2.05
perl 5.005_03
Linux kernel 2.2.17 (custom built)
*~/work/HTML-FromText-2.05> perl -c lib/HTML/FromText.pm
syntax error at lib/HTML/FromText.pm line 285, near "$_ foreach "
lib/HTML/FromText.pm had compilation errors.
I spent about 30 minutes on this trying to see what the heck was wrong, tried different structures. Even with the loop changed to
for my $d ( @DECORATORS ) { $options->{$d} and $self->$d }
I got the same error:
*~/work/HTML-FromText-2.05> perl -c lib/HTML/FromText.pm
syntax error at lib/HTML/FromText.pm line 287, near "$d }"
lib/HTML/FromText.pm had compilation errors.
Because this is an older version of perl, I wonder if it's a problem with syntax changes, but I don't see how.