in reply to Re: About BLOCK variables
in thread About BLOCK variables
I assume you made a cut/paste error for the second for loop. The first line is redundant since the second assignment doesn't include the required conditional test for definedness. It also omits the get method so you're actually assigning the same value(s) to each of the different @var values of each $uid instance. E.g.:
which shouldn't be the case.$uids{$uid}{mail} = $uids{$uid}{cn} = ${$uid}[0]
|
|---|