NAME

pm_filter.pl - Filter Perl modules before distribution

VERSION

Version 0.01

SYNOPSIS

pm_filter.pl
pm_filter.pl INFILE
pm_filter.pl INFILE OUTFILE
pm_filter.pl DIR

DESCRIPTION

This utility is intended to be called automatically via PM_FILTER or PREOP during the build process.

It reads the version number from the main module Config/INI/RefVars.pm. This version is then used for all processed modules.

The following substitutions are performed:

  • In POD, the placeholders #AUTHOR# and #VERSION# are replaced, except in verbatim paragraphs.

  • In all modules except the main module, a line of the form

    our $VERSION = '#VERSION#';

    is replaced by the actual version number.

If a directory is specified, all *.pm files below its lib/ directory are processed in place.

Without arguments, the script reads from standard input and writes to standard output.

AUTHOR

Abdul al Hazred

COPYRIGHT AND LICENSE

Copyright (C) Abdul al Hazred.