Given your example, unless I misunderstand this should be all you need:
while (<WORDLIST>){ next if /process/; print; }
In reply to Re: read multi lines of a file in perl
by hangon
in thread read multi lines of a file in perl
by sharan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |