in reply to printing an array reference

Try:
print "aliases: " , join(",",@{ $_->aliases() }),"\n" for (@retrieved_ +objs);

                As a computer, I find your faith in technology amusing.

Replies are listed 'Best First'.
Re^2: printing an array reference
by vedas (Novice) on Jan 17, 2019 at 06:20 UTC

    Yes, thank you Sir. Looks like the join worked. I'm a little confused by it, that suggests it is returning an array containing each portion of the name. I was actually expecting it to return an array of FQDNs. I'll have to do more research. Thank you for your assistance.

      In your original post, the line of output "aliases: ARRAY(0x55f6da24f8f0)" is clearly the only output of the statement "print "aliases: " .$_->aliases(),"\n" for (@retrieved_objs);". The fact that there is only one such line tells us that there is only one element in the array @retrieved_objs. The content of that line tells us that the element is a reference to an array. NetWallah's solution starts by dereferencing that reference. The join is his way of formatting that array for printing. Without documentation for your module, I cannot tell you why you have only one object or what that object should contain.
      Bill