in reply to Manipulating Arrays

perldoc -f join. Of course possibly overkill, but you might use YAML and let if format things in a readable (if slightly verbose) way.