my @sub_array = (36,264,188); ##real array my @num_weights = (\@sub_array); ##real array containing 1 reference