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

I'd use Perl. Some variation on:

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

Perl reduces RSI - it saves typing