LWP::Simple get() on win32

2003-09-20 Thread David Sanders
I am having a problem with LWP::Simple::get() on a Windows XP installation. (LWP version 5.69). The following command hangs up (requiring a Cntrl-c): perl -e use LWP::Simple; my \$out=get(\http://www.cpan.org\;);print \$out but this works perl -e use LWP::Simple;getprint(\http://www.cpan.org\;)

Re: LWP::Simple get() on win32

2003-09-20 Thread Gisle Aas
David Sanders [EMAIL PROTECTED] writes: I am having a problem with LWP::Simple::get() on a Windows XP installation. (LWP version 5.69). The following command hangs up (requiring a Cntrl-c): perl -e use LWP::Simple; my \$out=get(\http://www.cpan.org\;);print \$out but this works perl -e

Re: LWP::Simple get() on win32

2003-09-20 Thread David Sanders
On Saturday 20 September 2003 02:44 pm, Gisle Aas wrote: David Sanders [EMAIL PROTECTED] writes: I am having a problem with LWP::Simple::get() on a Windows XP installation. (LWP version 5.69). The following command hangs up (requiring a Cntrl-c): perl -e use LWP::Simple; my

Re: LWP::Simple get() on win32

2003-09-20 Thread Rob Dixon
David Sanders wrote: I am having a problem with LWP::Simple::get() on a Windows XP installation. (LWP version 5.69). The following command hangs up (requiring a Cntrl-c): perl -e use LWP::Simple; my \$out=get(\http://www.cpan.org\;);print \$out but this works perl -e use

Re: LWP::Simple get() on win32

2003-09-20 Thread Gisle Aas
David Sanders [EMAIL PROTECTED] writes: Under the debugger it just hangs also; here is a test case: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. Where did this text come from. My machine says it is Microsoft Windows XP, Home edition, Versjon 2002, Service

Re: LWP::Simple get() on win32

2003-09-20 Thread David Sanders
On Saturday 20 September 2003 04:46 pm, Gisle Aas wrote: David Sanders [EMAIL PROTECTED] writes: Under the debugger it just hangs also; here is a test case: Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. Where did this text come from. My machine says it

Re: LWP::Simple get() on win32

2003-09-20 Thread David Sanders
On Saturday 20 September 2003 05:41 pm, Gisle Aas wrote: David Sanders [EMAIL PROTECTED] writes: Thanks, here is where it hangs: [...] LWP::Simple::_trivial_http_get(c:/Perl/site/lib/LWP/Simple.pm:319): 319: 1 while $n = sysread($sock, $buf, 8*1024, length($buf)); DB1 s Is