Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 contemplating the Monastery: (4)
As of 2014-09-21 15:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (172 votes), past polls