in reply to
Re: using a hash to do substitution?
in thread
using a hash to do substitution?
It is likely that
s/\b($regex)\b/$hash{$1}/eg;
is more appropriate, so that, for example, $hash{'name'} = 'Bryan' doesn't turn 'nameserver' into 'Bryanserver'
Comment on
Re: Re: using a hash to do substitution?
Download
Code
In Section
Seekers of Perl Wisdom