in reply to Turning a comma-delimited list of internal email addresses into a space-delimited list of internet email addys?

Maybe:
my $distlist = join ' ', map { "$_\@myorg.mydomain" } @emaillist;
Or if you want to transform the original array at the same time:
my $distlist = join ' ', map { $_ = "$_\@myorg.mydomain" } @emaillist;
  • Comment on Re: Turning a comma-delimited list of internal email addresses into a space-delimited list of internet email addys?
  • Select or Download Code