Do you know where your variables are? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hello, I am new here and noob to Perl too, I would like to ask for some help. I have this piece of code(I think the full program is not necessary for the matter discused): my $data= (Dumper $res->valueof('//listPhoneByNameResponse/return/phone'));That part of the program brings the following output:
I need to parse the output, to create a table. I could make a new program and process all the anonymous hashes, but is there a way to tell the "Dumper" function to bring only one value a time? Something like this: print Dumper->${$VAR1}{"model"}; I think you got the idea. Any recomendation to parse a Data::Dumper output would be welcome. Thanks! I just want to say thank you all for your worthfull help. I just forgot about the Dumper module and made some modifications. At the end I just used the Text::Table module for practical purposes and it worked like a charm. Thanks again!In reply to Help with Dumping data. Manipulate hashes output. by oldwarrior32
|
|