Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

XML::Simple isn't simple!

by r.joseph (Hermit)
on Aug 17, 2001 at 05:30 UTC ( #105594=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <operating_systems>
      <os score="10" name="Linux" />
      <os score="7" name="BeOS" />
      <os score="-999999999" name="Windows 9x" />
    </operating_systems>
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    my $ref = XMLin($file);
    
    print $ref{'os'}->{'Linux'}->{'score'};
    
  3. or download this
    $VAR1 = {
        'os' => {
    ...
                }
         }
    };
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2021-10-20 10:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (80 votes). Check out past polls.

    Notices?