use warnings '+mixedtypes'; @a=(1,2); @b=(@a, [3,4]); #would give warning!