A tangential note regarding the construct you used twice:
The for is unnecessary. chomp over a list will chomp every element, so you can just say:chomp for @blocked;
to get the same result.chomp @blocked;
More info at perlfunc.
In reply to Re^2: Blocking based on words in a list
by VSarkiss
in thread Blocking based on words in a list
by matts156
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |