develooper Front page | perl.libwww | Postings from December 2000

Re: MomSpider & Libwww-Perl libs

Thread Previous | Thread Next
Roy T. Fielding
December 26, 2000 01:58
Re: MomSpider & Libwww-Perl libs
Message ID:
> In the original install of libwww, I see referrences to Perl4 but not
> Perl5.  The original MomSpider is running on Perl5.  Have I downloaded the
> libwww tar file for Perl5 and this package is not compatable with
> MomSpider?  How do I download the latest libwww files needed for
> MomSpider?

MOMspider predates most Web software that can still be run today.
It was the original basis for libwww-perl and has no clue about Perl5
because none of the objectisms existed at that time.  If you want
the whole package, including the early libwww-perl library that you
are missing, get it from

and add the following patch:
---  Thu Jun 19 03:44:16 1997
+++  Tue Oct  6 12:56:18 1998
@@ -83,6 +83,7 @@
                                       # but is required for HTTP server root.
     $reqstr = "$method $object HTTP/1.0\015\012";
+    $reqstr .= "Host: $host\015\012";
     foreach $hd (keys(%headers))
         if ($val = $headers{$hd})

I don't run it myself any more -- the Web is much bigger now than it was
in 1994, and MOMspider really needs to be updated to run on top of a
database rather than in memory.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About