in reply to Re^3: Interpolate Perl variables in POD
in thread Interpolate Perl variables in POD

Ahhh. How would I post-process pod2usage() output before, say, it gets put out as a man page?

Replies are listed 'Best First'.
Re^5: Interpolate Perl variables in POD
by GrandFather (Saint) on Oct 01, 2008 at 01:27 UTC

    I'd use Perl. Some variation on:

    use strict; use warnings; while (<>) { s/this/that/g; print; }

    Perl reduces RSI - it saves typing