Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Do you know where your variables are?
 
PerlMonks  

Simpler than XML::Simple

by Jenda (Abbot)
on Jul 11, 2008 at 17:34 UTC ( #697036=CUFP: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use XML::Simple;
    
    my $ref = XMLin( $xmlfile);
    
  2. or download this
    <root>
     <sub>
    ...
       <b x="4">blah blah</b>
     </sub>
    </root>
    
  3. or download this
    use XML::Rules;
    
    ...
        rules => XML::Rules::inferRulesFromExample( $XML),
    );
    my $ref = $parser->parse( $XML);
    
  4. or download this
    my $XML = <<'*END*';
    <root>
    ...
    my $ref = XMLin( $XML);
    print Dumper($ref);
    __END__
    
  5. or download this
    my $XML = <<'*END*';
    <root>
    ...
    );
    my $ref = $parser->parse( $XML);
    print Dumper($ref);
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-04-17 02:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (437 votes), past polls