in reply to regular expressions with !
If you want "no match", use it:
if ( $test_string !~ /$regex/) {
unless ( $test_string =~ /$regex/) {
In Section
Seekers of Perl Wisdom
in reply to regular expressions with !
If you want "no match", use it:
if ( $test_string !~ /$regex/) {
unless ( $test_string =~ /$regex/) {