in reply to Removing Delimiters
The opposite of a join is generally a split. So if you say $output = join ',', @parsDat;, then the opposite would be @parsDat = split ',', $output; (of course, any commas in the values of the original @parsDat will get clobbered and become delimiters themselves, though this won't be a problem with the sample data you posted)
In this case, I must agree with thor's post, however. Since your original script already does all the work of slicing and dicing the data into a useable structure, why not take advantage of that, and build the new requirements directly into that?
|
|---|