A patch for reading/writing multi-line data SDfile
Status: Beta
Brought to you by:
itubert
When reading a SD file that contains several lines on the data section the code is missing a final "\n" after joining the fields.
in case of:
> <SOME DATA>
Data1
Data2
Data3
> <ANOTHER DATA>
Data4
Data5
Data6
reading and writing the file will result in:
> <SOME DATA>
Data1
Data2
Data3
> <ANOTHER DATA>
Data4
Data5
Data6
At SDF.pm line 133 it should be:
$ret .= (join "\n", @$value)."\n";
instead of:
$ret .= join "\n", @$value;
Best,
Izhar
izharw@keddem.com
Patched SDF.pm for multi-line data SDfiles