Re: Pod::Usage and PAR packaged binaries
[email protected] (Roderich Schupp) Wed, 8 Nov 2017 18:43:52 +0100
| Newsgroups | perl.par |
|---|---|
| Message-ID | <CAC9r9zaVPUr2O2tv8jCwPJnpum+E=Qr3TDOZ0hCKDmkb2csuHA@mail.gmail.com> |
On Wed, Nov 8, 2017 at 1:46 PM, Johan Vromans <[email protected]> wrote: > Has anyone already figured out how this can be made to work? > I'm guessing that you have a separate .pod file instead of inline pod? A clumsy way would be to explicitly add the .pod with --addfile, then locate it relative to the toplevel cache directory, $ENV{PAR_TEMP}. E.g. for module Foo::Bar pp --addfile "/inst/alled/Foo/Bar.pod;pod/Foo/Bar.pod" ... then use pod_where({ -dirs => ["$ENV{PAR_TEMP}/inc/pod"] }, "Foo::Bar") Cheers, Roderich