in reply to Re: From Array 2 string
in thread From Array 2 string

This is just the kind of code that gives PERL a bad reputation as a write-only language. PERL is dying because of posts like this. You should use existing code from CPAN instead of inventing your own convoluted methods:

use Array::Autojoin; my $str=mkarray(@arr); print "$str";
</sarcasm>(just in case ;-)

Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian W. Kernighan