-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
On 4/15/2010 1:40 PM, Open Source wrote:
I'm getting this error:
Undefined subroutineXML::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
nameJohn/name
- Original Message -
From: Brad Baxter
Sent: 04/16/10 01:31 AM
To: beginners@perl.org
Subject: Re: XML Parser Error
On 4/15/2010 1:40 PM, Open Source wrote:
I'm getting this error:
Undefined subroutineXML::Simple::XMLin called at ./sample.pl line 3.
Here's my code and input
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
nameJohn/name
age43/age
genderM/gender