XML::Simple error

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Hi 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();

    die <<EOF
    usage: perl XMLto837I.pl <MMXMLfilename> <EDI837filename>


$MMXMLtmp = $ARGV[0];
$EDItmp = $ARGV[1];

my $data = $xml->XMLin($MMXMLtmp);


Basically, what I want to do is parse the tag and value from a XML.

Thanks for any advice in advance.

Re: XML::Simple error

On 01/23/2007 07:16 PM, edSanDiego wrote:
Quoted text here. Click to load it

Read about "strict mode" in the XML::Simple POD: "perldoc XML::Simple"

Windows Vista and your freedom in conflict:

Site Timeline