in reply to Assign scalar value to array

@a = split //, $num;

split