in reply to Re: Re: Performance Tuning: Searching Long-Sequence Permutations
in thread Performance Tuning: Searching Long-Sequence Permutations

Eh, right, but it doesn't have to be an array. A list will do, even if it's empty:
$permutations_total += () = $string =~ /$promoters_regex[$j]/g;

Abigail