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


in reply to Re: Valid Email Filter
in thread Valid Email Filter

One suggestion for the code .... change open (EMAILS, "$addrfile"); to open (EMAILS, $addrfile) or die "Can't open $addrfile: $!\n"; ALWAYS check to see if 'open' worked - print some descriptive message if it doesn't.