http://www.perlmonks.org?node_id=1150990


in reply to Need help understanding code snippet with "grep -f"

My guess what this does is:

Don't guess, read the docs, grep is not like grep, grep is like foreach that filters out wanted list items