develooper Front page | perl.par | Postings from November 2017

Pod::Usage and PAR packaged binaries

Thread Next
From:
Johan Vromans
Date:
November 8, 2017 12:47
Subject:
Pod::Usage and PAR packaged binaries
Message ID:
20171108134657.3c219bcb@phoenix.squirrel.nl
Hi,

I usually use Pod::Usage to display --help and --manual texts from POD. 

  use Pod::Usage;
  use Pod::Find qw(pod_where);
  pod2usage( -input => pod_where({-inc => 1}, __PACKAGE__) );

This doesn't work if the program is PAR packaged.

Has anyone already figured out how this can be made to work?

-- Johan

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About