On 12 Jun 2001 13:16:26 -0500, [EMAIL PROTECTED] wrote:
> 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
Well, I don't believe that !=~ is an operator, perhaps you are looking
for !~?
Let me see if I have this right: you are trying to say
if $add_destination does not contain '@' then
do this
end if
If that is what you mean then
} elsif ( $add_destination !~ /\@/ ) {
should work.
--
Today is Pungenday, the 17th day of Confusion in the YOLD 3167
Keep the Lasagna flying!