in reply to Annoying array.
When you save to the file, print a newline after each array element (hint, use the join function). When you slurp it back in, the array will be the same, except now each element has a newline appended to it. To get rid of this, read up on chomp.
Hope this helps.
|
|---|