On 02/06/2018 01:10 PM, Daniel P. Berrangé wrote:
Using Data::Dumper in examples does not help devs understand the
data
structures that the Perl APIs are returning. Change to explicit field
accesses to illustrate it better
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
examples/dhcp-leases.pl | 7 +++++--
examples/dom-fsinfo.pl | 8 +++-----
examples/dom-ifinfo.pl | 14 +++++++++-----
examples/dom-stats.pl | 9 +++------
examples/node-info.pl | 26 +++++++++++++++++++-------
5 files changed, 39 insertions(+), 25 deletions(-)
Changes probably should mention this too..
Reviewed-by: John Ferlan <jferlan(a)redhat.com>
John