NAME

pm_simple_filter.pl - Filter for Perl module

SYNOPSIS

pm_simple_filter.pl < LIB_PM > BLIB_PM

DESCRIPTION

To be autmatically called via PM_FILTER during the uild process.

Reads from STDIN and writes to STDOUT. Input must be code of a Perl module. It reads the VERSION (must be present!) and in the POD section, it replaces #VERSION# with that version and #AUTHOR# with the name of the author (hard coded in this script). It does not replace in verbatim lines.

The script assumes that the POD is located at the bottom of the file, after an __END__ followed by optional empty lines followed by a =pod.