Thanks for this SSCCE which shows (as soonix points out) that you have inserted your diagnostic line in the wrong place. It would have been much more preferable just to add further tests as I originally suggested. Have a good read of How to ask better questions using Test::More and sample data to find out why.
In reply to Re^5: Splitting a long row with multiple delimiters.
by hippo
in thread Splitting a long row with multiple delimiters.
by dipit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |