Re: default for LWP::Simple

Ed Peschko (epeschko@elmer.tci.com)
Wed, 9 Jul 1997 16:06:09 -0600 (MDT)


> 
> Ed Peschko <epeschko@elmer.tci.com> writes:
> 
> > shouldn't LWP::Simple default as a Netscape browser, anyways? Or what do people
> > think about this?
> 
> I don't think we should lie by default.  You can always do:
> 
>   use LWP::Simple qw(get $ua);
>   $ua->agent("Mozilla/9.0");
> 
>   $doc = get "http://www.lycos.com";

Well.. what is the default now? All I would want is a default that somehow 
retrieves a 'correct' web page.. right now the default returns, well, 
'suboptimal' pages sometimes (as in the case of lycos).

Ed