in reply to printing with join & array

tc1364:

... and you were expecting?

If you wanted to append that suffix to the end of *all* the strings, you probably wanted:

my @abc = ("tc1364", "tc1364", "tc1364"); print join(" ", map { "$_\\\@cde.com" } @abc), "\n";
...roboticus

UPDATE: Removed '\\\@cde.com' from initial term of join ... I forgot to do so before posting....

Replies are listed 'Best First'.
Re^2: printing with join & array
by tc1364 (Beadle) on May 16, 2008 at 17:19 UTC
    Thank you!