From: "Mumia W." Message-ID: Date: Thu, 29 Mar 2007 21:40:01 GMT On 03/29/2007 02:02 PM, John W. Krahn wrote: > > It is the other way around. "while (<$fh>) {" read a line and stores it in $_ > so it is still around, while "if (<$fh> =~ m/$item/) {" reads another line and > binds it to the regular expression and then discards it. > > [...] Oops, you're right. The "while (<$fh>)" magic confused me.