On Friday 09 August 2002 12:00 am, M. Hornung wrote: > > $line =~ /^(.*\|$item)$/; > ^ > > =~ will store the result of the following expression in $line. > Actually, this will run the regex against $line... If you want to store it you have to do this: $line =~ /..(...)./; $line = $1; -- Jonathan Gardner jgardn at alumni.washington.edu