in reply to Not Matching String is Matching
my @ips = (qw( 192.168.188.3 192.168.11.141 192.168.140.110 192.168.186.192 192.168.186.166 192.168.139.50 192.168.139.198 192.168.132.101 )); while (<FILE>){ print unless grep(/^$_$/,@ips) > 0; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Not Matching String is Matching
by Anonymous Monk on Aug 16, 2003 at 19:11 UTC |