Re: LWP / XML Parser problem

[email protected] (Henrik Tougaard)
Newsgroups perl.copenhagen
Message-ID <[email protected]>
2010/6/9 Thomas Elsgaard <[email protected]>:
>
> print $response->as_string;
>
>
> ### PARSER ###
>
> # initialize parser object and parse the string
> my $parser = XML::Parser->new( ErrorContext => 2 );
> eval { $parser->parse( $response ); };
>
Du bør nok bruige $response->as_string i $parser->parse kaldet.
--
Henrik Tougaard
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.