Help for this page
$list = join ',', map { $_ = "!" . $_; } @array1;
foreach my $t (@array1) { push @array2, "!" . $t; ; print join ",", @array2;