Installing LWP
The first version of LWP appeared in 1995, and was written by Martijn Koster and Gisle Aas. It has since been maintained and extended by Gisle Aas, with help from many contributors.
The basic LWP library, distributed via CPAN in the file libwww-X.XX.tar.gz (where X.XX is the most recent version number), provides supports for the HTTP, FTP, Gopher, SMTP, NNTP, and HTTPS (HTTP over Secure Sockets Layer) protocols. However, before you can install it, you must install a number of prerequisite modules:
URI | URL parsing and manipulation |
Net::FTP | to support ftp://URLs |
MIME::Base64 | to support HTTP Basic authentication |
Digest::MD5 | to support HTTP Digest authentication |
HTML::HeadParser | for finding the <BASE> tag in HTML headers |
You could download ...
Get Network Programming with Perl now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.