Thank you both.
The file are larger and i have many that get processed ina loop. It takes forever to check line by line.
I also tried to look in Code Catacombs did not find anything that does what i am looking for. Please let me know if you have any other thoughts. Basically i would like to LWP "get" a web page and look for the first valid email address in the web page source.