OK. Well, for large lists I'll settle with foreach + last + do block then :) And when the lists are not large, just grep.
In reply to Re^2: Shortcutting grep in boolean context
by perlancar
in thread Shortcutting grep in boolean context
by perlancar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |