in reply to Re^2: scalar in list context
in thread scalar in list context

Wow thanks a lot.

Indeed, the = has a higher precedence than comma ...

UPDATE: what I really wanted to show is that  sub list1 { 1,2,3,4 } and  sub list2 { (1,(2,3,(4))) } return the same result. The parens are not necessary to produce a list but are saver and often better to read...

Cheers Rolf