I am working on some code to query the F5 load balancer using the BigIP :: iControl module.
Right now, I get the following output when I execute a Dumper for a variable that I get from a specific function.
I have a lot of problems with iterating this object.
How can I keep repeating this and taking out only monitor_status for each member?
$VAR1 = [ bless( [ bless( { 'monitor_status' => 'MONITOR_STATUS_UP', 'member' => bless( { 'address' => '127.0.0.0.1', 'port' => '8085' }, 'Common::IPPortDefinition' ) }, 'LocalLB::PoolMember::MemberMonitorStatus' ), bless( { 'monitor_status' => 'MONITOR_STATUS_UP', 'member' => bless( { 'address' => '127.0.0.0.1', 'port' => '8085' }, 'Common::IPPortDefinition' ) }, 'LocalLB::PoolMember::MemberMonitorStatus' ), bless( { 'monitor_status' => 'MONITOR_STATUS_DOWN', 'member' => bless( { 'address' => '127.0.0.0.1', 'port' => '8085' }, 'Common::IPPortDefinition' ) }, 'LocalLB::PoolMember::MemberMonitorStatus' ), bless( { 'monitor_status' => 'MONITOR_STATUS_DOWN', 'member' => bless( { 'address' => '127.0.0.0.1', 'port' => '8085' }, 'Common::IPPortDefinition' ) }, 'LocalLB::PoolMember::MemberMonitorStatus' ) ], 'LocalLB::PoolMember::MemberMonitorStatus[]' ) ];
source share