in reply to Re: regular expressions with !
in thread regular expressions with !
Or even unless ( ! ( $test_string !~ /$regex/ ) ) {.
Once you've taken the first step down the unless road, madness ensues. Don't use unless; it makes it too easy to misunderstand code.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: regular expressions with !
by Nkuvu (Priest) on Sep 14, 2006 at 18:46 UTC |
In Section
Seekers of Perl Wisdom