By mentioning LWP, you'd got us deceived.  You can use HTML::Parser to strip off the HTML tags.

Jing Wee


Thanks, but I think I didn't explained very well. I need the result text,
without HTML marks. I mean hte text you can see in your Navigator after
being interpreted. Not the number of the result code.
Thanks

Arthur

----- Original Message -----
From: "$Bill Luebkert" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, June 03, 2002 11:52 PM
Subject: Re: HTTP response result


> Arthur wrote:
>
> > Hi
> >
> > I'm trying to get the result of an HTML request with LWP. Not the html
> > code, but the result of itself.
>
>
> Please post in plain text.
>
> my $res = $ua->request($req) or print "Failed to send request: $!";
> print $res->status_line, "\n";
>
> or
>
> print $res->code, "\n";
>
> depending on what you want.
>
> See HTTP::Response.pm
>
> --
>    ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
>   (_/   /  )    // //       DBE Collectibles   Mailto:[EMAIL PROTECTED]
>    / ) /--<  o // //      http://dbecoll.tripod.com/ (Free site for Perl)
> -/-' /___/_<_</_</_     Castle of Medieval Myth & Magic
http://www.todbe.com/
>
>
> _______________________________________________
> Perl-Win32-Admin mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>
>
 

Reply via email to