HTML::Entities::Interpolate is a pure Perl module to call HTML::Entities::encode_entities, via a hash, within a string. WWW: https://metacpan.org/release/HTML-Entities-Interpolate