in reply to Finding pages without specific words
This make the assumption that $nameOne and $nameTwo are on the same line. Is this what you really wanted?while($line = <DAT>) { if ($line != /$nameOne/i) { if ($line != /$nameTwo/i) { print "$name\n"; $ct++; last; } } }
Thanks
UnderMine
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Finding pages without specific words
by Anonymous Monk on Mar 08, 2004 at 15:50 UTC |