Skip Menu |

This queue is for tickets about the PAR CPAN distribution.

Report information
The Basics
Id: 11502
Status: stalled
Priority: 0/
Queue: PAR

Owner: Nobody in particular
Requestors: steve.hay [...]

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

Subject: pp -f ... breaks Pod::Usage
Download (untitled) / with headers
text/plain 593b
CPAN RT #5302 fixed a problem with using pp on a script that uses Pod::Usage. However, I now find that I have a similar problem if the script is "filtered" in any way with the "-f" option. For example, put this into use Pod::Usage; pod2usage(-verbose => 0) __END__ =head1 SYNOPSIS pod2usage Now run "pp -o test.exe -f Bleach" and then run "test.exe". It produces no output. I've found the same results using other filters. In each case, the filter modules work fine with scripts that aren't using Pod::Usage. Configuration: WinXP, VC++ 6.0, perl-5.8.6, PAR-0.87.
Download (untitled) / with headers
text/plain 615b
Hi, sorry for the late reply. In you report a problem with PAR filters and Pod::Usage. I cannot think of a way to alleviate this. For example when Acme::Bleach is used, the filtered script will be mainly whitespace. The filter has also "bleached" the POD section which now cannot be read by Pod::Usage. This applies to all filters that touch the POD section. Possibly, one could write a filter that strips out POD before any other filter is applied and then reinserts the POD after all filters have been processed. This might break just as well, though. Steffen

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to