bangers has asked for the wisdom of the Perl Monks concerning the following question:
my $bad = "NotMe!"; my @list = qw (one two three NotMe! four); my @goodList = grep NOT /$bad/, @list;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: grep items not matching an RE
by dave_the_m (Monsignor) on May 14, 2004 at 11:13 UTC | |
by bangers (Pilgrim) on May 14, 2004 at 11:31 UTC | |
by dave_the_m (Monsignor) on May 14, 2004 at 12:03 UTC | |
by muba (Priest) on May 14, 2004 at 11:32 UTC | |
by Fletch (Bishop) on May 15, 2004 at 04:42 UTC | |
|
Re: grep items not matching an RE
by Fletch (Bishop) on May 14, 2004 at 11:12 UTC |