http://qs321.pair.com?node_id=582147


in reply to Re: Please explain 'list' assignment.
in thread Please explain 'list' assignment.

The 'x' operator can act upon strings or upon lists. The use above, "Hello" x 3" created three concatenated copies of the string "Hello", thus "HelloHelloHello". What you wanted was "three copies of an item in list context", like so:
my ( $var1, $var2, $var3 ) = ("Hello") x 3;
The parentheses force the value into list context, the 'x' then makes three copies of that single value list, and you get ("Hello", "Hello", "Hello"), which is what OP wanted.