Re: [PATCH] Redirects and content

2003-11-12 Thread
Uh, that patch was of course the wrong way around... hate it when I mix up cause and effect... -- Peter Scott http://www.perldebugged.com/ *** NEW *** http//www.perlmedic.com/

Re: problems with libwww-perl 5.75

2003-11-12 Thread Morbus Iff
>2. The Makefile.PL wants to make aliases called GET HEAD and POST. >However, on Windows, alas, HEAD is the same as head. >Can you either, (a) not make the aliases by default, or (b) for windows >make different aliases? This problem also affected previous versions of OS X, though I never did test

Re: Using XML::Simple to pull a value

2003-11-12 Thread Roderick A. Anderson
On Wed, 12 Nov 2003, Francis Turner wrote: > Could well be. Easiest thing is to preprocess the XML using so that you > get just the XML parts and have no leading (or trailing) HTTP. Not sure which ' ' you were thinking of but I ended up doing a _very_ ugly thing by turning the string-of-lines i

problems with libwww-perl 5.75

2003-11-12 Thread Steve Kelem
Hi. I'm having two problems with libwww-perl5.75 on Cygwin. 1. The file libwww-perl-5.75/README has a date that can't be utime'd: -rw-r--r-- gisle/gisle3823 1970-01-01 04:37:34 libwww-perl-5.75/README 2. The Makefile.PL wants to make aliases called GET HEAD and POST. However, on Windows, alas

Re: Using XML::Simple to pull a value

2003-11-12 Thread Francis Turner
Roderick A. Anderson wrote: Well this didn't quite work the way I expected. The document is submitted using a HTTP POST and the returned document has the HTTP headers at the top. I think this is breaking XML::Simple - well probably any XML parser. I get this message Could well be. Easiest thing

Re: SSL interface for HTTPS within LWP

2003-11-12 Thread John J Lee
On Wed, 12 Nov 2003, Haroon Rafique wrote: [...] > To have SSL capability you need either one of the following 2 modules on > your Windows 2003 Server machine: > > Crypt::SSLeay > IO::Socket::SSL or the stuff from Johnny Lee (no, not me, we just happen to have similar names), which only depends on

Re: Using XML::Simple to pull a value

2003-11-12 Thread Roderick A. Anderson
Well this didn't quite work the way I expected. The document is submitted using a HTTP POST and the returned document has the HTTP headers at the top. I think this is breaking XML::Simple - well probably any XML parser. I get this message not well-formed (invalid token) at line 1, column 14, b

RE: SSL interface for HTTPS within LWP

2003-11-12 Thread LeFevre, Ken
Haroon: Try installing from one of the two sites listed below, depending on the version of perl that you're running. It got me working and made the 'Failed: 501 Protocol scheme 'https' is not supported' error go away. Ken If you have version 5.8,type install http://theoryx5.uwinnipeg.ca/ppms/

Re: SSL interface for HTTPS within LWP

2003-11-12 Thread Haroon Rafique
On Today at 5:54pm, MT=>Mueller-Lynch Thomas <[EMAIL PROTECTED]: MT> MT> What 'SSL interface' do I have to install on a Windows Server 2003? MT> I'm a little confused, cause I'm running the same perl script on a MT> Windows 2000 machine and everything works fine (and I didn't install MT> any SSL

SSL interface for HTTPS within LWP

2003-11-12 Thread Mueller-Lynch Thomas
Hello, I've got problems with the HTTPS support within LWP The libwww-perl documentation says: " ... HTTPS URLs with https scheme are accessed in exactly the same way as with http scheme, provided that an SSL interface module for LWP has been properly installed (see the README.SSL file found i

[PATCH] Redirects and content

2003-11-12 Thread Peter Scott
I experienced a problem with the latest Mail::Webmail::Yahoo (this is on perl 5.8.1 on Linux) that I *believe* stems from a problem with LWP::Protocol::http. Correcting what I thought the problem was there caused the Mail::Webmail::Yahoo tests to pass. Initial symptom: the Mail::Webmail::Yahoo

Re: Using XML::Simple to pull a value

2003-11-12 Thread Roderick A. Anderson
Dave, Francis; Thanks for the reply. I was hoping it would be this simple but the XML::Simple documentation used a different notation and my perl is a little weak in the multi-dimensional arrays and hashes still this does answer my needs. I will look at XML::Twig but I suspect my needs in proces

Re: Using XML::Simple to pull a value

2003-11-12 Thread Francis Turner
If you are really only looking for one value and it will always have the same tag the you *may* find it easier to just do a regex search on the response. ie m!(\d+)!s; XML::Simple is quite a bit of overhead for just retrieving one value. If you are going to need more of the response later then