in reply to Re: Interpolating variables in a stringin thread Interpolating variables in a string
( my $newstr = $str ) =~ s/(\$\w+)/$1/eeg; [download]