Hi,
I have a hash of variables with the name of the variable as key. Now I have some strings that can contain a $-sign followe d by a variable name. I would like to have the variables replaced with their values. I've tried the following with no succes:
$value =~ s/\$([a-z.]+)/$db[$1]/g;
Does...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.