Hi, I think you want
To get the second label:my $aref = $obj->answer->[0]->ptrdname->label;
my $aref = $obj->answer->[0]->ptrdname->label->[1];
Hope this helps!
In reply to Re: access object values
by 1nickt
in thread access object values
by averlon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |