Help for this page
use strict; my %repl = ( ... $string =~ s/($search)/$repl{$1}/ge; print "$string\n";