http://www.perlmonks.org?node_id=1003963


in reply to Re: list assignment to list in scalar context
in thread list assignment to list in scalar context

@TGI: You have said that there is no list at all in:

if( (5,3,0) )
I tested below. You are right.
if( (5,3,0) ) is equal to if( 5,3,0 )
both evaluate to FALSE. I need to understand the definition of list furthur.

@tye and Anonymous Monk : Your comments make sense.

From your patient answers, I think I can draw the conclusion: The reason that list assignment in scalar context will return the number of elements on right side list is for convenience of usage.