Skip Menu |

This queue is for tickets about the Nagios-Object CPAN distribution.

Report information
The Basics
Id: 92967
Status: new
Priority: 0/
Queue: Nagios-Object

People
Owner: Nobody in particular
Requestors: alastair [...] alastair-munro.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.21.9
Fixed in: (no value)



Subject: Documentation: how to pick of multiple values for an attribute
Picking out nested attribute values like members. I could not get this to work and resorted to the dump() method. I used something like this: if ($k1->attribute_is_list($a)) { $num=$k1->$a; # $a is attribute name if (defined $num) { # has a value; eg defined print scalar(@$num)."\n"; # this shows the number of members # As I could not work out how to get to the values I used dump() Can documentation be updated on how to do this?