in reply to Array population

my $number = 4;
my $string = "hello";
my @array = ($string) x 4;
Sorry, replace '4' with $number...oops