Re: Search bug or variable problem

2006-01-28 Thread Alexandre Jousset
Hello, [EMAIL PROTECTED] a écrit : sub CacheLDAP { my ($self) = shift; my ($TableName,@Attrs,@Entries) = @_; This is wrong... @Entries will always be empty and @Attrs will eat everything... Try passing references instead... I did not try the code but this is at least

Search bug or variable problem

2006-01-27 Thread davi
Hello people !!! I'm try to contruct SQL dump LDAP simple function, but get nothing with this. Here de code: sub CacheLDAP { my ($self) = shift; my ($TableName,@Attrs,@Entries) = @_; my $fields; my $values; my $sth; foreach my $entry (@Entri