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 > > ($a[0], $a[1], $a[2]) = (1, 2) That is not the issue. Assignment to an array is assignment to a list, and behaves like a list assignment. Just because it's a dynamically sized list does not mean it's not a list. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ ** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
Re: evaluating assigning to a list in if( ) statement
Jeff 'japhy/Marillion' Pinyan Mon, 10 Sep 2001 16:54:13 -0700
- evaluating assigning to a list in if( ) stat... Lev Selector
- Re: evaluating assigning to a list in i... Ronald J Kimball
- Re: evaluating assigning to a list in i... Bart Lateur
- Re: evaluating assigning to a list in i... Newton, Philip
- Re: evaluating assigning to a list ... Jeff 'japhy/Marillion' Pinyan
- Re: evaluating assigning to a l... Andrew Pimlott
- Re: evaluating assigning to... Jeff 'japhy/Marillion' Pinyan
- Re: evaluating assigning to... Ilmari Karonen