in reply to
Variables in Regular Expressions?
Why are you using tr at all? This is likely best done with s///
$c =~ s!$a!$b!;
[download]
Cheers,
KM
Comment on
Re: Variables in Regular Expressions?
Download
Code
In Section
Seekers of Perl Wisdom