Mel Matsuoka wrote:
: >Randal L. Schwartz wrote:
: >: ...
: >: Second might mean something like:
: >: 
: >: $foo_length = SOME_LIST # although this can't happen
: >:               ========= list
: >:             =           assigned to
: >: ===========             scalar
: >: 
: >: See the difference?  And the latter can't happen.
: >
: >Sure it can. Well, the list itself doesn't get assigned to the scalar,
: >but an assignment does get made: The last element of SOME_LIST to
: >$foo_length. So
: >
: >my $number_of_pets = ('dog','cat','iguana');
: >
: >sets $number_of_pets to 'iguana'.
: 
: 
: Methinks you actually /validated/ Randal's post, not contradicted it ;)

Actually, I was reacting in a blind fury to the words "can't happen".
I hate to see that in a post about Perl. ;)

-- tdk

Reply via email to