Help for this page

Select Code to Download


  1. or download this
    When XMLin() reads the following very simple piece of XML:
        <opt username="testuser" password="frodo"></opt>
    ...
          'username' => 'testuser',
          'password' => 'frodo'
        }
    
  2. or download this
    use XML::Simple;
    my $res = XML::Simple->new()
    my $a_tag = $res->XMLin($text);