Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the HTML-FromText CPAN distribution.

Report information
The Basics
Id: 6976
Status: resolved
Priority: 0/
Queue: HTML-FromText

People
Owner: Nobody in particular
Requestors: alansyoungiii [...] yahoo.com
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: (no value)
Fixed in: (no value)



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.
Date: Thu, 15 Jul 2004 14:20:23 -0400
From: Casey West <casey [...] geeknest.com>
To: Guest via RT <bug-HTML-FromText [...] rt.cpan.org>
CC: undisclosed-recipients: ;
Subject: Re: [cpan #6976] make test fails
RT-Send-Cc:
It was Thursday, July 15, 2004 when Guest via RT took the soap box, saying: : : This message about HTML-FromText was sent to you by guest <> via rt.cpan.org : : Full context and any attached attachments can be found at: : <URL: https://rt.cpan.org/Ticket/Display.html?id=6976 > : : 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. : Can't call method "signature" on an undefined value at /usr/local/lib/perl5/site_perl/5.8.0/Text/Autoformat.pm line 779. : 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. Try replacing $self->$d with $self->$d(); Just a hunch. If it works out I'll get it in the next release. Thanks! Casey West -- I am a superhero.
Date: Thu, 15 Jul 2004 12:22:33 -0700 (PDT)
From: Alan Young <alansyoungiii [...] yahoo.com>
Subject: Re: [cpan #6976] AutoReply: make test fails
To: bug-HTML-FromText [...] rt.cpan.org
RT-Send-Cc:
Show quoted text
> *~/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.
If you add parens to the $_ it will work in earlier versions of perl: 285: $options->{$_} and $self->$_() foreach @DECORATORS; Alan Show quoted text
__________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail
Perl 5.6 is now required. -- rjbs