>-----Original Message-----
>From: Open Source [mailto:open.sou...@gmx.com]
>Sent: Thursday, April 15, 2010 11:41
>To: Beginners, Perl
>Subject: XML Parser Error
>
>I'm getting this error:
>
>Undefined subroutine &XML::Simple::XMLin called at ./sample.pl line 3.
>
>Here's my code and input file:
>
>use XML::Simple;
>use Data::Dumper;
>$data = XMLin("sample.xml");
>print Dumper($data);
>
><?xml version='1.0'?>
><employee>
> <name>John</name>
> <age>43</age>
> <gender>M</gender>
> <department>Operations</department>
></employee>
>
>--
        I took your code, copied, made a file called sample.xml. Ran and it 
worked without error. I am running on XP Sp3, AS 5.10.1. 

         If you have any questions and/or problems, please let me know. 
         Thanks. 
 
Wags ;) 
David R. Wagner 
Senior Programmer Analyst 
FedEx Services 
1.719.484.2097 Tel 
1.719.484.2419 Fax 
1.408.623.5963 Cell
http://Fedex.com/us




>To unsubscribe, e-mail: beginners-unsubscr...@perl.org
>For additional commands, e-mail: beginners-h...@perl.org
>http://learn.perl.org/
>


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to