Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Parsing XML with XML::Simple

by madbombX (Hermit)
on Dec 18, 2006 at 00:41 UTC ( #590364=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    $Id:,v 1.1 2006-12-17 19:25:03 eric Exp $
  2. or download this
    $VAR1 = \{
                'CVS' => '<The entire file and this is the only tag in the
    + hash with no other tags even making it in here>'};
  3. or download this
       foreach my $file (@articles) {
         my $article = XMLin($file, NoAttr => 1);
         use Data::Dumper;
         print "<pre>", Dumper(\$article), "</pre>";

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://590364]
Approved by GrandFather
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2015-11-26 01:11 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (695 votes), past polls