I have a list of email addresses in a text file one to a line. How would I seach for a particular email address?
$email = "[EMAIL PROTECTED]"; while <FILE> { if ($email eq $_) { $OK = 1; } } It seems the @ symbol somehow doesn't work in this search. What would be a better (or right) way to do this? thanks in advance.