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' => {
    ...
                }
         }
    };