Yes, index could be more efficient.
I'd need some logic to adjust the size of the window I'm trying to match, but it could work.
I might also look at rindex
In reply to Re^2: CPAN Module to determing overlap of 2 lists?
by wazat
in thread CPAN Module to determing overlap of 2 lists?
by wazat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |