Help for this page

Select Code to Download


  1. or download this
    <sourcetype>
      <name>G1</name>
    ...
        <rule>['^(</xyz>)']</rule>
      </rules>
    </sourcetype>
    
  2. or download this
    my $xml = new XML::Simple( KeyAttr=>[] );
    my $data = $xml->XMLin( $config_file );
    ...
    {
      print "  " . $sourcetype->{name} . "\t\t" . $sourcetype->{desc} . "\
    +n";
    }