in reply to read multi lines of a file in perl
Given your example, unless I misunderstand this should be all you need:
while (<WORDLIST>){ next if /process/; print; } [download]