I enjoy learning perl in my spare time and I am having a hard time trying to figure out how to open a file and match each line agaisnt a $variable. For example if the variable was a name and the file contained 500 names and I wanted to see if the variable name matched any in the file. Anyone know what I talking about?
