Help for this page
my $email = ''; until ($email =~ /^[^ ,@]+\@([a-z0-9-]+\.)+[a-z]+$/) { ... $email = <>; chomp $email; }