Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the PPI CPAN distribution.

Report information
The Basics
Id: 19999
Status: resolved
Priority: 0/
Queue: PPI

People
Owner: adamk [...] cpan.org
Requestors: aaron [...] FreeBSD.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.115
Fixed in: (no value)



Subject: Make test fails (undeclared global variable $document) under Perl 5.6.2

Message body is not shown because it is too large.

This is really interesting. For some reason, Perl itself on your host is NOT handling POD correctly, and code inside of =begin blocks is being parsed, and then parsed wrong. I honesty have no idea what is going on. Stalling until someone can explain to me WTF is going on, or offer a fix
I had the same problem on ActivePerl 5.6.1 and fixed it by removing the #!/usr/bin/perl shebang line within the "testing prune 2" POD section of PPI::Node. The older version of Perl seems to get confused and thinks that line is the beginning of a script. On Thu Aug 31 09:45:28 2006, ADAMK wrote: Show quoted text
> This is really interesting. > > For some reason, Perl itself on your host is NOT handling POD correctly, > and code inside of =begin blocks is being parsed, and then parsed wrong. > > I honesty have no idea what is going on. > > Stalling until someone can explain to me WTF is going on, or offer a fix
I've removed (or at least obfuscated) the #!/usr/bin/perl line. Marking as resolved as I expect this fix to work, but please retest this after 1.118 comes out to confirm it worked. Replying to this email will reopen the bug, if everything works for you please don't reply and I'll assume it's fixed.