Help for this page
$search->code && die $search->error;
$search = $ldap->search( base=> "$base", filter=>"mail=$name_email" );