Dan Muey said: > To simplify the question and not get off track I need to see if a string > contains a variable 'name' not 'value'. > > If($string =~ m/\$variable/) { print "Yes \$variable exists"; }
Don't escape the $ in the RE. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]