in reply to Object Access Issue

That looks rather like a representation of the aggregate/composite pattern - a list being an object (which, as tobyink has already pointed out, has an unusual name - LocalLB::ObjectStatus[]) which itself contains a number of other objects (of class LocalLB::ObjectStatus).

In order to access the contained objects, I suggest that you have a look at the containing class (LocalLB::ObjectStatus[]) to determine the name(s) of the accessor methods - which will, I would guess, follow the form of the GoF Iterator pattern e.g. get_next(), has_next() etc.

HTH ,

A user level that continues to overstate my experience :-))

Replies are listed 'Best First'.
Re: Object Access Issue
by Darren123 (Initiate) on Mar 19, 2014 at 14:22 UTC

    Thank you all for your help.

    It took me a while to digest what you had all posted, but I have now worked it out, and it seems so simple now!

    In the end all I needed was this:

    foreach ($ic->get_ltm_pool_members_status($pool)) { foreach (@{$_}) { print "$_->{enabled_status}\n"; }

    Thanks

    Darren