XML::Simple error
am 24.01.2007 02:16:11 von eldwinHi all,
I'm messing around with the XML::Simple module and am getting the
following error: No value specified for 'ForceArray' option in call to
XMLin() at XMLto837I.pl line 23
Here's the code I'm using...
#!/usr/bin/perl -w
use strict;
use warnings;
use XML::Simple qw(:strict);
my $MMXMLtmp;
my $EDItmp;
my $xml = XML::Simple->new();
if (@ARGV < 2 or @ARGV > 2)
{
die <
EOF
}
$MMXMLtmp = $ARGV[0];
$EDItmp = $ARGV[1];
my $data = $xml->XMLin($MMXMLtmp);
exit;
Basically, what I want to do is parse the tag and value from a XML.
Thanks for any advice in advance.