Francis Turner [EMAIL PROTECTED] writes:
Alternatively if gethostbyname gives long delays for no obvious reason
how about using net::DNS::resolver instead? That one always seems fast
to me assuming you send to a DNS that exists
I have not really tried it myself, but the BUGS section of
Edward Avis [EMAIL PROTECTED] writes:
root@voxel23 ~/libwww-perl-5.62 # perl -Ilib -MLWP::Authen::Digest -e1
Can't locate MD5.pm in @INC (@INC contains: lib /homes/epa98/lib/perl5
/homes/epa98/lib/perl5/5.6.0/i586-linux /homes/epa98/lib/perl5/5.6.0
/homes/epa98/lib/perl5/5.6.0/i386-linux
Gisle Aas [EMAIL PROTECTED] writes:
So, then, why did jigsaw-te fail? Is it because you don't have the
Compress::Zlib module installed?
I just checked in the following patch:
Index: Makefile.PL
===
RCS file: /cvsroot/libwww
Gustaf Bergstr? [EMAIL PROTECTED] writes:
No problem with that, but now I want to get som data from
this page too:
http://www.geocaching.com/seek/cache_details.asp?ID=10420
and it is impossible! When the script tries to access
the page, it gets an error page (which you normally
KEVIN ZEMBOWER [EMAIL PROTECTED] writes:
In diagnosing a problem, I've discovered that this program:
#!/usr/local/bin/perl
use CGI qw/:standard/;
use LWP::Simple ;
causes this error:
Prototype mismatch: sub main::head vs ($) at ./z.pl line 3
If I change the program to:
Gisle Aas [EMAIL PROTECTED] writes:
Still need to figure out why connect fails for me on this test with
perl5.005 ...
With this patch is seems to work fine on perl5.005:
Index: lib/Net/HTTP/Methods.pm
===
RCS file: /cvsroot
Tim Scott [EMAIL PROTECTED] writes:
I saw your reference to the use of Unicode::String. Excuse me for
asking, but does it work? We've tried to several funtions from it
(utf16, ucs2,...) but the only one that seems to work is utf8?
Can you give me a test case that demonstrates what you mean
Rafael Garcia-Suarez [EMAIL PROTECTED] writes:
Perl currently optimizes sort() in scalar context to do nothing.
Would it not make sense to make it do something instead. I suggest it
should return the first element (after sorting). It would make sense
to optimize this so that it does not
With all this perlbench activity going on, I wished somebody had the
time to contribute more tests. The perlbench coverage as of today is
nothing to be proud of. If somebody wants to take over the module
then that would be fine too.
Regards,
Gisle
This is a bug report for perl from [EMAIL PROTECTED],
generated with the help of perlbug 1.33 running under perl v5.6.1.
-
[Please enter your report here]
#!/usr/bin/perl
use warnings;
$a = undef;
print $a, \n; # gives a warning
I have now changed remove_header to return the field values removed
and in scalar context the number of fields removed.
--- Headers.pm 2001/04/12 06:50:28 1.41
+++ Headers.pm 2001/11/15 06:17:42 1.42
@@ -170,19 +198,31 @@ sub init_header
=item $h-remove_header($field,...)
+
+This
Tatsuhiko Miyagawa [EMAIL PROTECTED] writes:
Google seems to deny access via LWP, so live/google.t fails.
I guess the rule is $Header{'User-Agent'} =~ /libwww-perl/
I will remove the 't/live/google.t' from the distribution. It appears
they did not like it.
Note that Google is very confused
Blair Zajac [EMAIL PROTECTED] writes:
Gisle Aas wrote:
Blair Zajac [EMAIL PROTECTED] writes:
I'm working on some code where it would be handy to know the number of
removed HTTP headers with the HTTP::Headers-remove_header method. Here's
a small patch returns the number
Bill Moseley [EMAIL PROTECTED] writes:
Looking at some older code I see I was jumping through hoops for keep alives.
What I want is a way to nicely handle the situation where keep alive
support isn't available for the current LWP installation.
if ( $server-keep_alive ) {
Feng, James [EMAIL PROTECTED] writes:
I used lwp to get a https site and I got an error Error:500 read
failed:. According to the error code 500, it is a internal server error
however I can get the site by using browser. I have Crypt::SSLeay
installed.
You should tell us:
- what site are
Rodent of Unusual Size [EMAIL PROTECTED] writes:
Gisle Aas wrote:
Then your CPAN must be stale. It is on CPAN. It was upload almost 2
weeks ago. http://search.cpan.org/search?dist=libwww-perl
Yrrg. Got it; Duke.Edu was stale. Next question: how
may I verify in my script
Andrea Bisio [EMAIL PROTECTED] writes:
Does anybody can tell me how to write a client for submitting data to
a form with method post and encoding type=multipart/form-data?
I could not find a class in the library to manage such kind of things
You should look at the HTTP::Request::Common
Dana Powers [EMAIL PROTECTED] writes:
This is a transport issue, and not impacted by SOAP as far as I can tell -
it would need to be implemented at the LWP level, and I havent been able to
find any exisiting implementations. The module that you'd need is
LWP::Authen::NTLM.pm. If you're
Michael Thompson [EMAIL PROTECTED] writes:
Yes, I encountered that error, too. I traced the problem
to _new_socket() in LWP::Protocol::http11 which was putting
the socket in non-blocking mode. This would sometimes cause
reads to return EAGAIN, which not everything is prepared for.
Below is
Alexandre Duret-Lutz [EMAIL PROTECTED] writes:
I'm writing an HTTP client for SourceForge using LWP (libwww-perl 5.53).
I need to login to SourceForge by POSTing a form, to get an
identification cookie before further processing.
The trouble is that the (queried) host 'sourceforge.net'
[EMAIL PROTECTED] (Randal L. Schwartz) writes:
me-01 == me-01 [EMAIL PROTECTED] writes:
me-01 Hi,
me-01 URI::Escape uses the following code to set a subs function in uri_escape:
me-01 if (defined $patn){
me-01unless (exists $subst{$patn}) {
me-01# Because we
[EMAIL PROTECTED] (Randal L. Schwartz) writes:
Bill == Bill Moseley [EMAIL PROTECTED] writes:
Bill At 02:22 PM 10/01/01 -0700, Randal L. Schwartz wrote:
Heh. I've asked for that a few times. See the bottom of a few
of my columns (google for site:stonehenge.com mailto::host;).
Linux
Michael G Schwern [EMAIL PROTECTED] writes:
On Fri, Oct 19, 2001 at 04:46:02PM -0700, Gisle Aas wrote:
+=item PERL_MM_USE_DEFAULT
+
+If set to a true value then MakeMaker's prompt function will
+always return the default without waiting for user input.
Very useful, just one question
Rafael Garcia-Suarez [EMAIL PROTECTED] writes:
I'm still not entirely satisfied with the coderef-in-@INC feature. So,
before it gets documented into a production release :
currently, when a module is loaded via a hook in @INC, the string
'/loader/0x81095c8/Foo.pm' is set as the
Jeff 'japhy/Marillion' Pinyan [EMAIL PROTECTED] writes:
On Sep 14, Jarkko Hietaniemi said:
NOTE: The regular expression language in the Perl Programming Language
[Perl] does not include a quantifier of the form S{,m), since it is
logically equivalent to S{0,m}. We have, therefore, left
Gerrit Haase [EMAIL PROTECTED] writes:
This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible. See
http://testers.cpan.org/
Please cc any replies to [EMAIL PROTECTED] to keep other
test volunteers informed and to prevent any
26 matches
Mail list logo