Re: LWP Header Information Only

=?iso-8859-1?q?I....AM.....I?= (e96mani@yahoo.dk)
Fri, 30 Mar 2001 08:42:33 +0200 (CEST)


--- "Paul Maine Jr." <paulm@msicc.com> skrev: > How
can I modify the following code to only print
> header information?

> 
>   $req = HTTP::Request->new(GET =>
> 'http://www.anycompany.com/');
> 
>   $req->header('Accept' => 'text/html');
> 
>   # send request
> 
>   $res = $ua->request($req);
> 
>   # check the outcome

    print $res->as_string

whill print the request header ....
[....]



______________________________________________________
Do You Yahoo!?
Få en gratis @yahoo.dk-adresse på http://mail.yahoo.dk