Does your code work if you eliminate LWP::UserAgent and XML::Simple?
What are the values you get in $firstname, $lastname etc? What values get stored in the database?
What does AddMember do?
Most likely, the data structure you get back from XML::Simple is not what you expect. But as you don't show us the XML you download, it's hard to tell for us.
In reply to Re: {KOHA}Parse XML and assign to variables.
by Corion
in thread {KOHA}Parse XML and assign to variables.
by scolife
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |