Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

XML Array/Hash Issue

by nickt9999 (Acolyte)
on Nov 20, 2013 at 19:36 UTC ( #1063583=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <errors>
      <error>
       <desc></desc>
      </error>
     </errors>
    
  2. or download this
    my $errorArray = $data->{errors};
            foreach my $error ( @{ $errorArray->{error} } ) {
                print NEW "$error->{desc}\n";
            }
    
  3. or download this
    HASH(0x7fb3d8973fa8)
    $VAR1 = {
              'desc' => 'Slave not running'
            };
    
  4. or download this
    ARRAY(0x7ffc84006ad0)
    $VAR1 = [
              {
    ...
                'desc' => 'TEST123'
              }
            ];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1063583]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2015-07-29 09:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls