Subject: | values with trailing \ and # not correctly re-written |
If a configuration file contains the following line:
key value \ # this is a comment
the system loads this correctly and creates the key value of
key = value \
stripping the trailing comment.
If this is then written back out, no comment is added back, creating the line
key value \
Which if re-read, is the correct format for continuation.
Because of HASH order differences between Perl 5.6 and 5.8, the tests fail on 5.8 because of this, but by fluke pass on 5.6.