Skip Menu |

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 38271
Status: open
Priority: 0/
Queue: PAR-Packer

People
Owner: Nobody in particular
Requestors: formalin14 [...] gmail.com
Cc:
AdminCc:

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



Subject: PodStrip does not strip "=encoding utf8" which cause the executable generated by pp failed to exec
Some module such as Mail::Builder::List have "=encoding utf8" at the beginning of their embeded pod doc. pp automatic use PodStrip to filter the source of modules. PodStrip does not strip "=encoding utf8" line. Since there is no "=cut" under "=encoding utf8" after filtered, all the code under "=encoding utf8" become comments and then cause errors. Environment: perl 5.8.5
From: formalin14 [...] gmail.com
Set environment variable PAR_VERBATIM=1 can disable PodStrip filter, but I think this is still a bug, and need to be fixed.
Subject: Re: [rt.cpan.org #38271] PodStrip does not strip "=encoding utf8" which cause the executable generated by pp failed to exec
Date: Thu, 07 Aug 2008 11:12:42 +0200
To: bug-PAR-Packer [...] rt.cpan.org
From: Steffen Mueller <wyp3rlx02 [...] sneakemail.com>
Achilles Xu via RT wrote: Show quoted text
> Queue: PAR-Packer > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=38271 > > > Set environment variable PAR_VERBATIM=1 can disable PodStrip filter, but > I think this is still a bug, and need to be fixed.
Agreed. It's a bug and it should be reasonably simple to fix it. PodStrip is just a bunch of hacks. No big magic POD parser. However, I'm not sure whether I'll have the time to do it today. It might be that I don't get to it before September (vacation, yay!). Best regards, Steffen
Subject: Re: [rt.cpan.org #38271] PodStrip does not strip "=encoding utf8" which cause the executable generated by pp failed to exec
Date: Thu, 07 Aug 2008 14:20:26 +0200
To: bug-PAR-Packer [...] rt.cpan.org
From: Steffen Mueller <smueller [...] ma2geo.mathematik.uni-karlsruhe.de>
Achilles Xu via RT wrote: Show quoted text
> pp automatic use PodStrip to filter the source of modules. PodStrip does > not strip "=encoding utf8" line. Since there is no "=cut" under > "=encoding utf8" after filtered, all the code under "=encoding utf8" > become comments and then cause errors.
I committed something to the SVN repository that *should* fix this. Can you test by checkout out the newest version? svn checkout http://svn.openfoundry.org/par/PAR-Packer/trunk Cheers, Steffen
From: formalin14 [...] gmail.com
在 2008-08-07 08:22:12 星期四 时,smueller@ma2geo.mathematik.uni- karlsruhe.de 写到: Show quoted text
> Achilles Xu via RT wrote:
> > pp automatic use PodStrip to filter the source of modules. PodStrip does > > not strip "=encoding utf8" line. Since there is no "=cut" under > > "=encoding utf8" after filtered, all the code under "=encoding utf8" > > become comments and then cause errors.
> > I committed something to the SVN repository that *should* fix this. Can > you test by checkout out the newest version? > > svn checkout http://svn.openfoundry.org/par/PAR-Packer/trunk > > Cheers, > Steffen
I have tested it and it passed.