"Dan Muey" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I would think, and have been trying :
> $line =~ /\$myVariable/ > If I do $line like this : That's exctly right. > $line = 'HI $myVariable'; > If($line =~ /\$myVariable/) { print "HI"; } > It works great, the problem is I can't do $line like that. You definitely haven't got in $line what you think you have. Unless your real code has an expression there instead of a plain variable? Try printing $line before the test. My bet is that it's been interpolated by then. /R -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]