Re: hi

2002-03-05 Thread Reinier Post
On Mon, Mar 04, 2002 at 02:57:30PM +0530, kavitha malar wrote: perl -MLWP::Simple -e 'getprint http://wwwyahoocom;' 400 Bad Request URL:http://wwwyahoocom anybody knows why this error is happening It isn't here Try setting $http_proxy or something --jude -- Reinier

Use of inherited AUTOLOAD warnings

2002-03-05 Thread Leon Brocard
While testing LWP with perl573 I get lots of warnings along the following lines: local/httpUse of inherited AUTOLOAD for non-method HTML::HeadParser::DESTROY() is deprecated at /blib/lib/LWP/Protocolpm line 206, DAEMON line 1 See the perldiag entry for more information Anyway, it recommends

Re: hi

2002-03-05 Thread Randal L. Schwartz
Reinier == Reinier Post [EMAIL PROTECTED] writes: Reinier On Mon, Mar 04, 2002 at 04:33:37PM +0530, kavitha malar wrote: I want to search a text in a website how to do that through perl. Reinierperl -MLWP::Simple -e \ Reinier 'getprint http://www.google.com/search?q=$word+site:$site'

Re: Use of inherited AUTOLOAD warnings

2002-03-05 Thread THC Soft
Hmm, maybe I'll be not that of a help, but it seems to me that you mixed up something with Exporter and AutoLoader. *AUTOLOAD = \HTTP::Message::AUTOLOAD looks a bit unusual. regards Martin Leon Brocard wrote: While testing LWP with perl5.7.3 I get lots of warnings along the following

LWP Request objects Data::DumpXML::Parser

2002-03-05 Thread David Carter
Not certain if this is the right list for this question, if not, please tell me where to go. ;-) I'm writing a simple (simplistic?) character-mode web scripting tool using LWP. As I record a session, I store HTTP::Request objects in @requests. At the end: my $requests_xml =

Re: parse headers returned

2002-03-05 Thread Gisle Aas
[EMAIL PROTECTED] (Randal L. Schwartz) writes: Doh! When did *that* sneak in there! I don't really know. I guess you could dig in the CVS repository if you really want to know. There is an entry in the change log for release 5.18 (1997-12-12) that says: Documented

Re: hi

2002-03-05 Thread Gisle Aas
[EMAIL PROTECTED] (Randal L. Schwartz) writes: And last time I checked, Google *specifically* blocks the default agent type that LWP uses, so you'll get no response. You have to change the agent type to something with Mozilla in it. :) Gisle - would it be unfair to have a special

Re: parse headers returned

2002-03-05 Thread Sean M. Burke
At 11:34 2002-03-05 -0800, Gisle Aas wrote: Somewhat related: Based on a suggestion by Sean I would like to make the all the 'is_*' methods return the status_line when TRUE. Does anybody have a better suggestion for what a useful TRUE value could be? I've been trying to decide which would be

Unexpected error messages in FTP request

2002-03-05 Thread Mark Suter
Folks, When I run the following code I get an unexpected error message. The larger the file to be downloaded, the more often the error is repeated. Use of uninitialized value in addition (+) at /usr/share/perl5/Net/FTP/I.pm line 29. #!/usr/bin/perl -T -w use strict; use LWP; my $ua =