As of Feb 28, 2001, Dave Sherohman can be held liable for saying: > while (<MYFILE>) { > $_ =~ /foo.+bar/sm > ... > } > > ? (If so, $_ will only contain one line ("foo\n" or "bar\n") at a time.) Yep, that's the problem. Its likely rudimentary but, how do I get around this stupidness on my part? I haven't ever tried multiline pattern matching before... ____________________________ Mike Neuharth ADCS Technology Specialist http://www.umn.edu/adcs E-Mail : mjn at umn.edu Page Mail : 6126486512 at page.metrocall.com http://supermonkeycollider.dyndns.org/ ____________________________