in reply to printing with join & array
... and you were expecting?
If you wanted to append that suffix to the end of *all* the strings, you probably wanted:
...roboticusmy @abc = ("tc1364", "tc1364", "tc1364"); print join(" ", map { "$_\\\@cde.com" } @abc), "\n";
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 |