Chad Morland wrote:
> Thanks Steve, that seemed to do the trick.
> 
> Perhaps my reading comprehension was not up to par when I was reading up on
> these operators.
> 
> I figured AND(&&) operators had to match both conditions in order to be
> true, hence me trying to use OR(||). I guess it's the opposite?

! ( $v eq 's' || $v eq 't' )
=== ( ! ( $v eq 's' ) ) && ( ! ( $v eq 't' ) )
=== ( $v ne 's' ) && ( $v ne 't' )
=== $v ne 's' && $v ne 't'


-- 
Just my 0.00000002 million dollars worth,
  Shawn

Programming is as much about organization and communication
as it is about coding.

I like Perl; it's the only language where you can bless your
thingy.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to