or with map and creation of a new arrayforeach (@array) { $_= '<tag>' . $_ . '</tag>' }
my @newarray= map { '<tag>' . $_ . '</tag>' } @array;
UPDATE: misread your question. Should you ever need the tags in the array itself, this would be the answer ;-)
In reply to Re: Array to String
by jethro
in thread Array to String
by amexmythili
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |