use DBI; use CGI; &set_content(); &callFunctions(); sub callFunctions { my $xml = '<hdsso><hpid>--------</hpid><pin&g +t;abcbs-hd</pin><fname>--------</fname><mname> +;</mname><lname>-------</lname><dob>-------&l +t;/dob><email>-------</email><ls>----------</ +ls><ws>---------</ws></hdsso>'; use XML::Simple; $XMLref = XMLin($xml, suppressempty => ''); } sub set_content { $q = new CGI; print $q->header( -type => 'text/html',-P3P => 'CP="NOI ADM DEV PS +Ai COM NAV OTRo STP IND DEM" policyref="/w3c/p3p.xml"'); use CGI::Carp qw(fatalsToBrowser carpout); if ( open(LOG,">>errors.log") ) { carpout(LOG); } } 1;
In reply to Error decoding XML by Hammy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |