Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: Validate newline delimited email listby Sagacity (Monk) |
on Jan 12, 2007 at 22:53 UTC ( [id://594480]=note: print w/replies, xml ) | Need Help?? |
Looks to me that this line $error++ if(!$ok); is merely testing whether $ok exists, which it always does according to the line above it.
Try testing for the value of $ok that was returned instead.
In Section
Seekers of Perl Wisdom
|
|