You're right. I edited rather than c&p :( and forgot my usual 1+.
next if 1+index $all, $x, $p;
Code above amended.
In reply to Re^9: list of unique strings, also eliminating matching substrings
by BrowserUk
in thread list of unique strings, also eliminating matching substrings
by lindsay_grey
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |