le 08/06/2006,
Luis Cerezo nous écrivait :
> hi!
> 
> i am looking for a way to capture non-existing entries from a list...

something like that ? 

while ( my $login = <FH> ) {
        chomp; 
        my $msg = $ldap->search(
                base => $base 
                , filter => "uid=$login"
        );
        $msg->code or warn "pb while searching $login : " . $msg->error;
        $msg->count or warn "$login doesn't exist";
}

regards,
mc

-- 
téléphone : 03.90.24.00.19
courriel  : [EMAIL PROTECTED]
---------------------------------------

Reply via email to