in reply to Re: Problem with inheritance
in thread Problem with inheritance

Parens are usually used because "=" has higher precedence than ",".

>perl -MO=Deparse,-p -e "@a = 1, 2" ((@a = 1), '???'); -e syntax OK >perl -MO=Deparse,-p -e "@a = (1, 2)" (@a = (1, 2)); -e syntax OK

('???' is the 2 in void context being optimized away.)