you need only !~ for does not contain vs =~ does contain

Wags ;)

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 12, 2001 11:16
To: Perl Discuss
Subject: ensuring that there *is* an \@ symbol


i am trying:

  } elsif ( $add_destination !=~ /\@/ ) {

which is not working. i am hoping that this reads "if $add_destination
does NOT contain \@ then"

however, it apparently does not read this way :)
is my error in perl syntax or the regex?

thanks! -charles

Reply via email to