i am writing a cgi script, and get this error:
no element found at line 38, column 0, byte 1412 at /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris/XML/Parser.pm line 187
the begining of the script reads:
#!/u1/perl5.8.5/bin/perl -w
use CGI qw/:standard/;
use strict;
use XML::Simple qw
strict);;
use Data:
umper;
push(@INC, "../lib/perl5/5.8.5");
require "rtsLib.pl";
my $debug=0;
&printHeader;
my $colour = 'style="background-color:#CCCCCC"';
if (param("input")) {#if something is entered this happens
my $input2 = "/home/haiti/white/res.xml";
my $xml =new XML::Simple(KeyAttr=>'id', ForceArray=>1);
my $data =$xml->XMLin("$input2");
everything works fine untill: "my $data =$xml->XMLin("$input2");"
i get a blank web browser and the error above
any ideas thank you
no element found at line 38, column 0, byte 1412 at /usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris/XML/Parser.pm line 187
the begining of the script reads:
#!/u1/perl5.8.5/bin/perl -w
use CGI qw/:standard/;
use strict;
use XML::Simple qw
use Data:
push(@INC, "../lib/perl5/5.8.5");
require "rtsLib.pl";
my $debug=0;
&printHeader;
my $colour = 'style="background-color:#CCCCCC"';
if (param("input")) {#if something is entered this happens
my $input2 = "/home/haiti/white/res.xml";
my $xml =new XML::Simple(KeyAttr=>'id', ForceArray=>1);
my $data =$xml->XMLin("$input2");
everything works fine untill: "my $data =$xml->XMLin("$input2");"
i get a blank web browser and the error above
any ideas thank you