problem with 500/read timeout

2005-02-17 Thread Anderson, Dave G
conns($buf); return \$buf; } ); The $self->collect call appears to then timeout with the UA timeout. I'm not sure whether it's trying to read more data because of return code No Response. I had thought No Response was a valid return code for a PUT. I've reached the limits of my knowledge here so if anyone has any suggestions they'd be appreciated. It's probably something simple. thanks Dave

problem with 500/read timeout

2005-02-17 Thread Anderson, Dave G
ns($buf); return \$buf; } ); The $self->collect call appears to then timeout with the UA timeout. I'm not sure whether it's trying to read more data because of return code No Response. I had thought No Response was a valid return code for a PUT. I've reached the limits of my knowledge here so if anyone has any suggestions they'd be appreciated. It's probably something simple. thanks Dave

Re: Using GET in a loop

2004-09-17 Thread Dave Mitchell
On Fri, Sep 17, 2004 at 09:56:57AM +0100, Andreas Warntjen (LSE) wrote: > Hi, > > I am experiencing problems when working with GET in a loop. I believe this has been answered for you on Perl Monks. Dave. -- A power surge on the Bridge is rapidly and correctly diagnosed as a faulty

Re: LWP Thread safe?

2004-07-13 Thread Dave Mitchell
as there have been a lot of threads-related bugfixes incorporated into the various 5.8.x minor releases. Dave. -- To collect all the latest movies, simply place an unprotected ftp server on the Internet, and wait for the disk to fill

Re: threads

2004-03-11 Thread Dave Mitchell
then the startup time will dominate. * unless you need to make use of the specific features of Perl threads (such as shared variables), you'll be a lot better off (on UNIX systems at least) using fork instead - this is lot more efficient. Dave. -- A power surge on the Bridge is rapidly

Re: LWP::Simple get() problem

2003-09-26 Thread Dave Mitchell
On Fri, Sep 26, 2003 at 03:13:43PM +0100, Hon Guin Lee - Web Producer - SMI Marketing wrote: > Hi, > if ($page = undef) { > print "Couldn't retrieve $url"; > } Thats doesn't test for whether $page is undefined; in fact it assigns the undef value to $page. You want something like. unle

Re: Problems posting file upload

2003-07-15 Thread Dave Mitchell
On Tue, Jul 15, 2003 at 11:51:53AM -0400, Randall Perry wrote: > --- > Got this basic code snippet from the 'Perl & LWP' book and modified it: > --- > > use stric

Re: cc: not found

2003-07-15 Thread Dave Mitchell
On Tue, Jul 15, 2003 at 11:19:38AM +0100, [EMAIL PROTECTED] wrote: > > when you install modules which need a compiler it is best to use the Compiler that > Perl itself is built with (pelr -V). When using the Perl comiled with Sun compilers, the following may be useful for building modules with g

Re: make test failures, second try...

2003-04-01 Thread Dave Mitchell
On Tue, Apr 01, 2003 at 12:47:39PM +0200, [EMAIL PROTECTED] wrote: > No answers to this one last time, and I haven't solved it myself... :-[ > > Any ideas are welcome. > > solaris 7 > perl 5.8.0 > lwp 5.69 > [snip] > robot/ua-get..Can't modify subroutine entry in scalar assignment at >

Re: compile problem with Crypt-SSLeay-0.45

2003-01-07 Thread Dave Mitchell
On Mon, Jan 06, 2003 at 04:20:47PM -0500, jeffkoch wrote: > > Hopefully this is not off topic but we are having trouble compiling > Crypt-SSLeay-0.45 on a new RedHat 8.0 box with a standard openssl-0.9.6g > install. > > We're getting the following error message. Maybe someone would be kind > e

Re: test fails because of missing Data::Dump

2002-12-30 Thread Dave Mitchell
On Mon, Dec 30, 2002 at 09:49:20AM -0600, Bob McElrath wrote: > Data::Dumper is normally part of perl itself. Under redhat it's in the > perl package itself, under debian it is in perl-base. If you don't have > Data::Dumper you probably don't have other essential packages such as > Config, File,

Re: cc: Base64.o: No such file or directory

2002-11-14 Thread Dave Mitchell
copy) - ie make sure that the 'cc' in your path is Sun's. There may be a third option of somehow editing Makefile.PL to use the correct compiler options, but I don't know how this might be done. Dave. -- O Unicef Clearasil! Gibberish and Drivel! - "Bored of the Rings"

libwww-perl-5.65: non-blocking read errors

2002-11-05 Thread Dave Mitchell
? Thanks, Dave M. -- Lady Nancy Astor: If you were my husband, I would flavour your coffee with poison. Churchill: Madam - if I were your husband, I would drink it.

Timeout problem with LWP::UserAgent

2002-10-15 Thread Dave Reed
prompt "Click OK to terminate program" message. This caused my program to hang for hours. My question is: shouldn't the LWP::UserAgent have timed out in the default 180 seconds? Any help would be greatly appreciated. Thanks; Dave Reed The Pennsylvania State University [EMAIL PROTECTED]

Re: LWP for perl5 in Linux RedHat6.2

2001-07-15 Thread Dave Cross
e, you want the libwww bundle which is at: <http://search.cpan.org/search?mode=dist&query=libwww> hth, Dave... -- Drugs are just bad m'kay

Re: Passive mode FTP from LWP?

2001-06-21 Thread Dave Elash
Net::FTP->new("$host", Passive => 1) $ftp->login($loginuser,$loginpass) Cheers, Dave

Re: Problem submitting a form

2001-03-22 Thread Dave Faraldo
ed get 404 Not Found. :-) -=< Dave >=- Original message follows: - > Date: Wed, 21 Mar 2001 22:14:26 -0500 > From: Steve Borruso <[EMAIL PROTECTED]> > Subject: Problem submitting a form > Greetings, > > Having s

Re: generating requests

2001-03-22 Thread Dave Faraldo
ncoded', 'multipart/form-data'). TMTOWTDI -- -=< Dave >=- Original message follows: - > Date: Wed, 21 Mar 2001 14:53:22 -0700 > From: "Sean M. Burke" <[EMAIL PROTECTED]> > Subject: generating requests > At 12:51 AM 2001-03-21 -08

Re: Need help with my code?

2001-03-15 Thread Dave Faraldo
owing POSTs sub redirect_ok { my ($ua, $req) = @_; if (uc($req->method()) eq 'GET') { # Allow redirects on GET requests; return 1; } else { # Allow GET redirects from POSTs $req->method('GET'); return 1; } }

Re: LWP::Authen::Digest update for RFC 2617

2001-01-21 Thread Dave Dunkin
Dang it. The previous patch didn't increment the nonce count properly. Here's one that does. On 21 Jan 2001 00:52:13 -0600, Dave Dunkin wrote: > On 19 Jan 2001 10:11:41 -0800, Gisle Aas wrote: > > > You should probably try to avoid warnings from perl about using u

Re: LWP::Authen::Digest update for RFC 2617

2001-01-20 Thread Dave Dunkin
the nonce value, according to RFC 2617. I looked in the tests and didn't find anything related to the client side of the authentication. Did I miss it, or is it not there? I've attached an updated patch, taking into consideration the things you pointed out. Dave --- Digest.pm.latest

Re: LWP::Authen::Digest update for RFC 2617

2001-01-19 Thread Dave Dunkin
My bad. Try this one. Dave On 19 Jan 2001 08:50:35 -0800, Gisle Aas wrote: > Dave Dunkin <[EMAIL PROTECTED]> writes: > > > In a project I'm currently working on, I need to authenticate with an NT > > server which specifies qop="auth" in the WWW-Auth

LWP::Authen::Digest update for RFC 2617

2001-01-18 Thread Dave Dunkin
In a project I'm currently working on, I need to authenticate with an NT server which specifies qop="auth" in the WWW-Authenticate header. The included patch allows this to happen, as specified in RFC 2617. Dave Dunkin --- Digest.pm.bak Wed Jan 17 03:13:38 2001 +++ Digest.

Re: possible bug in HTML::Parser comment handler

2001-01-12 Thread Dave
I have solved the problem I was having thanks to the info here. All I had to do was pass is_cdata as an arg to the handler and only print if it was false. Thanks very much. dave On Fri, 12 Jan 2001, Sean M. Burke wrote: > At 11:21 PM 2001-01-11 +0100, Bjoern Hoehrm

possible bug in HTML::Parser comment handler

2001-01-11 Thread Dave
appearing in the dtext. Is this a bug in the module or a bug in the user? I am using the debian package ii libhtml-parser 3.15-1 A collection of modules that parse HTML text Thanks! dave --- Do you walk to school, or bring your lunch?

Re: using xml with LWP

2000-12-20 Thread Dave Anderson
text/xml should not be url encoded. > For the above post the content type should be set to: > > Content-type: application/x-www-form-urlencoded > You mean, instead of text/xml, which is what I've currently set content-type to be? Thing is, I thought form-urlencoded was for html forms? thanks Dave

using xml with LWP

2000-12-20 Thread Dave Anderson
from LWP::Request::Common. Does anyone have any comments on this - which side is correct? many thanks in advance Dave

Re: Perl Question

2000-09-06 Thread Dave Cross
an be all kinds of problems with this kind of thing. You should be locking your files using flock. This is covered in some depth in perlfaq5. hth, Dave... -- <http://www.dave.org.uk> SMS: [EMAIL PROTECTED] yapc::Europe - London, 22 - 24 Sep <http://yapc.org/Europe/> "The blac

Element.pm

2000-06-12 Thread Dave Waller
I am trying to use the module HTML-CalendarMonth and it needs HTML/ElementTable.pm which needs HTML/Element.pm. CPAN says there is such a module and the it is owned by this list. I can not find it though. Any clues would be helpfull. Dave Waller

Re: looking for a out of print perl book

2000-05-15 Thread Dave Cross
x27;re very unlikely to find a copy anywhere. It is, however, available on the web at <http://www.oreilly.com/openbook/webclient/inx.html> Share and Enjoy, Dave... -- <http://www.dave.org.uk> SMS: [EMAIL PROTECTED] yapc::Europe - London, 22 - 24 Sep <http://yapc.org/Europe/>

wap/wml and Perl

2000-03-23 Thread dave fleet
Is anyone doing Perl and WML/wap programming?I've just started, and can't work out how to grab data from a wml form.I have tried the post method : -- #parse form data   read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});   $postinput = $buffer;   @pairs = split(/&/, $buffer);   $postinput =~ s/&/\n

Re: help

2000-02-17 Thread Dave Cross
At 13:28 17/02/00 -0800, Amir N. Nashat wrote: >how can i unsubscribe? i checked perl.org and that wasnt very helpfull...where >should i look? Maybe you should check the headers of your own post. list-help: <mailto:[EMAIL PROTECTED]> list-unsubscribe: <mailto:[EMAIL PR

URI-1.04 request for enhancement - rsync URIs

2000-02-14 Thread Dave Beckett
I needed to manipulate rsync URIs and since they are pretty simple rsync://[USER@]HOST[:PORT]/SRC (from man rsync) I created URI/rsync.pm based on URI::http. It would be useful if this made it into the URI module, although it isn't a standardised URI. Thanks Dave UK Mirror Service -

Re: HTML::Parser

1999-12-16 Thread dave fleet
What?   *Han FleetProgrammerAvaterraUKwww.avaterra.comwww.vzones.comwww.juiceuk.com   [EMAIL PROTECTED] - Original Message - From: Terminal TSC To: [EMAIL PROTECTED] Sent: Thursday, December 16, 1999 3:18 AM Sub

Module

1999-12-10 Thread dave fleet
Searching on CPAN for the LWP module just gives your address. Can I get it from you? :) *Han FleetProgrammerAvaterraUKwww.avaterra.comwww.vzones.comwww.juiceuk.com   [EMAIL PROTECTED]