Thank you, yes. That is an important distinction.
-----Original Message-----
From: Randal L. Schwartz [mailto:[EMAIL PROTECTED]
Sent: Fri 7/16/2004 7:17 AM
To: [EMAIL PROTECTED]
Cc:
Subject: Re: !$state
>>>>> "Tim" == Tim Johnson <[EMAIL PROTECTED]> writes:
Tim> "$state = ()" assigns the value of an empty list to the scalar $state, so
it would evaluate to false.
No, it doesn't. It evaluates () in a scalar context, which returns a
scalar undef. Hence, same as "$state = undef". Right conclusion,
wrong reasoning.
--