in reply to Converting an index record array into a comma-separated array.

join is the opposite of split:
my @a = qw(IBM B 226110 20020702 545 12.5109); @a = join(',',@a); print "@a\n";
But i usually store the results in a scalar, not an array, because join returns a scalar. Update: i did not realize you were working with an array of arrays when i answered ... sorry about that.

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)
  • Comment on (jeffa) Re: Converting an index record array into a comma-separated array.
  • Download Code