Hi kcott,
Thanks for commenting and testing. I've corrected the sample output as per what you said, my bad. But as for the code for CSelTest.pm itself, it looks correct. My diff -wu output comparing the downloaded code and the file on my filesystem is empty. In case you need to download from another source, I also put it on github:
and (for comparison): CSelTest.pm-from-perlmonks.org
About the "use 5.020000" pragma, I added it to Data::CSel to exclude perl 5.18.4 or earlier because CPAN Testers reported weird failures that look related to the regex engine and are something that I don't want to deal with at the moment. As far as I know, the regex-related constructs that I use (including (?{CODE}), (?&NAME), $^N, $^R, etc) are all supposed to be supported by 5.010 and up.
In reply to Re^2: Weirdness (duplicated data) while building result during parsing using regex
by perlancar
in thread Weirdness (duplicated data) while building result during parsing using regex
by perlancar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |