I am not sure how using output list separator ($") is going to affect the rest of your program That is why i've put it local (assuming u r using a subroutine).
It is better to limit the scope of the change using a bare code BLOCK
{ local $" = q{}; print qq{@array}; }
or a do BLOCK
print do{ local $" = q{}; qq{@array} };
I hope this is useful.
Cheers,
JohnGG
In reply to Re^2: Concatenate printing a string and array
by johngg
in thread Concatenate printing a string and array
by spickles
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |