my @array = $adsobj_child->{member};
just copies the reference.
my @array = @{$adsobj_child->{member}};
copies the array.
But why copy?
foreach (@{$adsobj_child->{member}})
In reply to Re: Extracting elements of an array reference?
by ikegami
in thread Extracting elements of an array reference?
by steverippl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |