View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
Steffen Müller > PAR-Dist-FromPPD > ppd2par


Annotate this POD


Open  0
View/Report Bugs


ppd2par - Create PAR distributions from PPD XML files


ppd2par --help

ppd2par [-v -o DIR ...] -u PPD-URI-OR-FILE


This script creates PAR distributions from packages for the Perl Package Manager which is specific to ActiveState's perl distributions. In order to do this, ppd2par parses a PPD document (which is XML). The PPD document contains meta data and URIs for the actual .tar.gz packages of the PPM package.


  -u --uri
    Set the place to fetch the .ppd file from. Can be an URL
    (http://..., https://..., ftp://...) or a local file.
  -v --verbose
    Sets the verbose mode.
  -o --out
    Sets the output directory. (default: .)
    Strip all documentation (man pages, html documentation) from the
    resulting PAR distribution.
    (This step is carried out at the end. If something goes wrong,
     it will be skipped.)

You can also set various bits of meta data by hand:

  -n --distname
    Distribution name
  --dv --distversion
    Distribution version (Note: This is not -v!)
  -p --perlversion
    Perl version (can be set to 'any_version')
  -a --arch
    Architecture string (can be set to 'any_arch')
  --sa --selectarch
    Regexp for selecting the implementation based on architecture
  --sp --selectperl
    Regexp for selecting the implementation based on perl version


This tool is implemented using the PAR::Dist::FromPPD module. Please refer to that module's documentation for details on how this all works.

PAR has a mailing list, <>, that you can write to; send an empty mail to <> to join the list and participate in the discussion.

Please send bug reports to <>.

The official PAR website may be of help, too:

For details on the Perl Package Manager, please refer to ActiveState's website at


Steffen Mueller, <smueller at cpan dot org>


Copyright (C) 2006 by Steffen Mueller

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.6 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: