in reply to Populating a vector

my @poly_coeffs = (0) x ($n + 1) ; $poly_coeffs[0]++ ;
Do you see something else/shorter/better ?
shorter?
my @poly_coeffs = map !$_+0, 0..$n;
better? (and even shorter)
my @poly_coeffs = (1, (0) x $n);
but I just had to include a map based solution... ;-)