Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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
    <CVS>
    $Id: File_Find.pl,v 1.1 2006-12-17 19:25:03 eric Exp $
    ...
    <p>bar</p>
    <p>baz</p>
    </ARTICLE>
    
  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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (15)
As of 2014-07-28 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (206 votes), past polls