in reply to
substituting with hash data
Something like this perhaps?
$string =~ s/$_/$hash{$_}/g for (keys %hash);
[download]
Comment on
Re: substituting with hash data
Download
Code
In Section
Seekers of Perl Wisdom