Well Im afraid you are both wrong.
Using >> will work fine as it creates and/or appends
Secondly I chomped on purpose for consistency (knowing that I didn't need to) however it makes sure that when I reprint nothing gets messed up.
Thirdly Andy's split(/|/, $_) line was wrong.
So there!
Using >> will work fine as it creates and/or appends
Secondly I chomped on purpose for consistency (knowing that I didn't need to) however it makes sure that when I reprint nothing gets messed up.
Thirdly Andy's split(/|/, $_) line was wrong.
So there!