instead of the for loop over @res.# ... push @answers, grep @$_, map [ $line =~ $_], @res; # ...
I realize I'm expanding on a non-solution to the original question. It's art for art's sake, if that's allowed.
Anno
In reply to Re^3: How to get ($1, $2, ...)?
by Anno
in thread How to get ($1, $2, ...)?
by ferreira
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |