in reply to Validate newline delimited email list

Something's wrong with what you posted. Some lines are missing (where is $error set?) and the print line is cut halfway through.

Replies are listed 'Best First'.
Re^2: Validate newline delimited email list
by philosophia (Sexton) on Jan 12, 2007 at 20:51 UTC
    $error is set in the first line of code. I've revised the print line. Thanks for taking a look...

      $error is set in the first line of code.

      You know I meant where it set after being initialized because you added

      $error++ unless(Email::Valid->address($_));