Re: evaluating assigning to a list in if( ) statement

2001-09-10 Thread Jeff 'japhy/Marillion' Pinyan
On Sep 10, Andrew Pimlott said: On Tue, Sep 04, 2001 at 08:52:11AM -0400, Jeff 'japhy/Marillion' Pinyan wrote: And the difference is? An array isn't the same as a list, but assigning to an array is the same as assigning to a list. Consider the difference between @a = (1, 2); and

Re: evaluating assigning to a list in if( ) statement

2001-09-04 Thread Jeff 'japhy/Marillion' Pinyan
On Sep 4, Newton, Philip said: Hm, I beg to disagree -- that's an array assignment, not a list assignment. And the difference is? An array isn't the same as a list, but assigning to an array is the same as assigning to a list. -- Jeff japhy Pinyan [EMAIL PROTECTED]

Re: evaluating assigning to a list in if( ) statement

2001-09-03 Thread Ronald J Kimball
On Mon, Sep 03, 2001 at 09:35:13PM -0400, Lev Selector wrote: # Folks, just a note. # I thought that the #if (EXPR) # is supposed to evaluate the EXPR in scalar context, right? # Well, it does so in most cases # Except when you do an assignment to a list, when # instead of