in reply to Re: PP packaging Mechanize problem
in thread PP packaging Mechanize problem

I don't know why this triggers a Perl error,

Sounds like it's meant to be treated as a q'...' construct with "r" as the delimiter. Sounds like it is treated as such, but doesn't see the "r" in "=for ;" like it is meant to.

I just tested with Perl 5.8.8 and Perl 5.10.0 and it works for me. Maybe the packager is stripping the pods to reduce the size of the package???

Replies are listed 'Best First'.
Re^3: PP packaging Mechanize problem
by Corion (Patriarch) on Oct 12, 2008 at 14:19 UTC

    This diagnosis is spot on. The documentation says:

    By default, PAR strips POD sections from bundled modules. In case that causes trouble, you can turn this off by setting the environment variable PAR_VERBATIM to 1.

    ... so I guess doing that would also help in this case.