in reply to Vector of given size

This code will do the same as you described:
use warnings; use strict; my $length = 10; my @vec = (0) x $length; $_ += 1 for @vec; print "@vec\n";
Anything we can do to help you get Math::GSL installed ?

Cheers,
Rob