Thread: A array problem
View Single Post
Old 08-10-2007   #1 (permalink)
Jens Diekers


 
 

A array problem

in this little command i want to access a element of a array: please look

for ($a=0; $a -le 8; $a++) {dsadd group
"CN=$hn$b[$a],OU=local,OU=roles,DC=cz,DC=int-e,DC=kaufland" -scope l

The output of the defined variable $hn is ok, but when i want to access
$b[$a] variable, the array will output his whole content. Do I have to
mascerade my $b variable?

Any help is welcome?
THX
My System SpecsSystem Spec