Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2017-06-24 00:47 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (555 votes). Check out past polls.