Help for this page

Select Code to Download


  1. or download this
    <hosts>
      <host name="jimmy">
    ...
        <location>hell</location>
      </host>
    </hosts>
    
  2. or download this
    use XML::Simple;
    use Data::Dumper;
    ...
    # read XML file
    my $data = $xml->XMLin("/tmp/hosts.xml");
    print Dumper($data);
    
  3. or download this
    $VAR1 = {
              'host' => {
    ...
                                 }
                      }
            };