Subject: | Text::RecordParser accepts no Pipe-Char as field-separator |
Hi Ken,
today i'd tested your Text::RecordParser packet and found it very
useful. But it seems that it is not able to split fields at a pipe-char
(ASCII 124, Hex 0x7C). All i get, when i try to split a record is:
------------------------------------------------------------------------
Error reading line 'MSH|^~\&|BOSS|01|PC|00|20020715121500||ADT^A02|BOSS20020715815758|P|2.2' at ./hl7parser.pl line 24
------------------------------------------------------------------------
The record-separator is a \n (and so it is in the file too), so the Error
must point on the field-separator: |
When i translate all | in , or ; (and do this i my code too) everything works fine. I think this is not really a bug, but more a 'nice to have' :-)
May be in the next Version ?
best whishes from rainy Germany:
Olaf Weinert