> 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?
I think the syntax you want is '!~'. The '=~' is binding, '!~' not binding.
Peter C.
- ensuring that there *is* an \@ symbol charles
- Re: ensuring that there *is* an \@ symbol Peter Scott
- Re: ensuring that there *is* an \@ symbol Chas Owens
- RE: ensuring that there *is* an \@ symbol Wagner-David
- Peter Cornelius
