for (@a) { my $b = $_; # Or do a deep copy, if necessary $b *= 2; } #### for my $b (map $_, @a) { $b *= 2; } #### for my $b (@{[@a]}) {