$firstNonEmptyEmail = $emails[0] if @emails;
# Is the given email one of the borrower's ?
if ( $email && !( any { /^$email$/i } @emails ) ) {
if ( $email && !( any { $email eq $_ } @emails ) ) {
$hasError = 1;
$errNoBorrowerFound = 1;
}
-