When XMLin() reads the following very simple piece of XML: it returns the following data structure: { 'username' => 'testuser', 'password' => 'frodo' } #### use XML::Simple; my $res = XML::Simple->new() my $a_tag = $res->XMLin($text);
## use XML::Simple; my $res = XML::Simple->new() my $a_tag = $res->XMLin($text);