http://www.perlmonks.org?node_id=1057554


in reply to Assign scalar value to array

@a = split //, $num;

split