in reply to Re: Re: XML::Simple and use lib
in thread XML::Simple and use lib
Since you don't have access to logs or command line, here is what I would suggest. Change the line
<i>my $xml = XMLin("$name.xml", searchpath => ['users']);</i>
to...
my $xml = XMLin("$name.xml", searchpath => ['users']); use Data::Dumper; print "<pre>" . Dumper($xml) . "</pre>";
Then look for an element named 'adress'. I would assume you mean 'address' from the following line.
<i>print $xml->{email}<br>$xml->{adress}</i>
Updated: added code tags
|
|---|