Subject: | unpack string incorrect when one fieldname is substring of other fieldname |
Date: | Thu, 30 Jun 2016 13:44:19 +0000 |
To: | "'bug-DataExtract-FixedWidth [...] rt.cpan.org'" <bug-DataExtract-FixedWidth [...] rt.cpan.org> |
From: | Angelo Melis <Angelo.Melis [...] matchis.nl> |
Dear Mr Carroll,
First thank you for making this module available. It makes my life much easier.
But it does give me one headache. And that is:
I have several header names. For example DA1 and further on the line A1. Now the index of these fields become index of 'D' (e.g. 0) and for A1 I get a 1. But that is of course not correct. Is there a way around it that I missed or is it a bug? Sadly I have multiple files with different sorting of the headers, so setting the unpack string myself is not an option.
I hope you can help me.
Best regards,
Angelo