Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: grinny
  • Content: Threads
  • Order by date
  1. grinny

    How to use a variable as substitution text in a perl regex

    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...

Part and Inventory Search

Back
Top