Alright - so that helped a little, now it looks like I am getting references to arrays? Here is your code modified to output to the cli -
my $hashref = $s->invoke( 'disk-list-info' );
# get keys of the hash referred to by $hashref
my @keys = keys %$hashref;
print "-------keys----------\n"...
All -
I'm trying to do something I haven't done before. It looks like the perl module I am using is returning a reference to a hash. I know that the actual returned data is an XML document. What is the best way to actually get to the XML document from the hash reference? I've tried XML::Twig...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.