my ($prefix, $combine, $suffix) = split /(combine)/, $key, 2; if ($combine) { print "$prefix found\n" if $prefix; print "$suffix found\n" if $suffix; }
In reply to Re: Fast sublist generation
by runrig
in thread Fast sublist generation
by PetaMem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |