Re: libwww-perl split up
Gisle Aas <[email protected]> Tue, 8 Mar 2011 20:54:39 +0100
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Message-ID | <[email protected]> |
libwww-perl-6.00 has now been uploaded to CPAN. I decided not to split out the scripts to their own distribution. The release notes says: Unbundled all modules not in the LWP:: namespace from the libwww-perl distribution. The new broken out CPAN distribtions are File-Listing, HTML-Form, HTTP-Cookies, HTTP-Daemon, HTTP-Date, HTTP-Message, HTTP-Negotiate, Net-HTTP, and WWW-RobotRules. libwww-perl-6 require these to be installed. This release also drops the unmaintained lwp-rget script from the distribution. Perl v5.8.8 or better is now required. For older versions of perl please stay with libwww-perl-5.837. For https://... default to verified connections with require IO::Socket::SSL and Mozilla::CA modules to be installed. Old behaviour can be requested by setting the PERL_LWP_SSL_VERIFY_HOSTNAME environment variable to 0. The LWP::UserAgent got new ssl_opts method to control this as well. Support internationalized URLs from command line scripts and in the proxy environment variables. The lwp-dump script got new --request option. The lwp-request script got new -E option, contributed by Tony Finch. Protocol handlers and callbacks can raise HTTP::Response objects as exceptions. This will abort the current request and make LWP return the raised response. --Gisle On Mon, Feb 21, 2011 at 22:07, Gisle Aas <[email protected]> wrote: > Mark Overmeer recently contacted me and convinced me that this might > be a good time to split up libwww-perl into smaller distribution that > can more easily be maintained. My plan is to start releasing the > pieces over the next weeks. I've prepared the division at the > libwww-perl github repo, so if anybody is interested you can take a > look over there. The modules that will go into the various > distributions is listed below. Is there anything you want to change > with this plan this please let me know. > > The split out pieces will start out with 6.00 as version number. > > The planned LWP-scripts dist seems to be problematic since there is no > module in this dist. I don't know how to state a dependency on a > non-module dist, so perhaps this needs to merge back into the > libwww-perl dist or I need to add a dummy module to that dist. > > Regards, > Gisle > > > --------------------------------------------------------->%----------------------- > LWP-MediaTypes > lib/LWP/media.types > lib/LWP/MediaTypes.pm > > Deps: <none> > > HTTP-Date > lib/HTTP/Date.pm > > Deps: (Time-Zone) > > WWW-RobotRules > lib/WWW/RobotRules/AnyDBM_File.pm > lib/WWW/RobotRules/DB_File.pm > lib/WWW/RobotRules.pm > > Deps: URI > > File-Listing > lib/File/Listing.pm > > Deps: HTTP-Date > > HTTP-Message > lib/HTTP/Config.pm > lib/HTTP/Headers/Auth.pm > lib/HTTP/Headers/ETag.pm > lib/HTTP/Headers/Util.pm > lib/HTTP/Headers.pm > lib/HTTP/Message.pm > lib/HTTP/Request/Common.pm > lib/HTTP/Request.pm > lib/HTTP/Response.pm > lib/HTTP/Status.pm > > Deps: URI HTTP-Date MIME-Base64 HTML-Parser Encode-Locale > LWP-MediaTypes Compress > > HTTP-Negotiate > lib/HTTP/Negotiate.pm > > Deps: HTTP-Message > > HTTP-Cookies > lib/HTTP/Cookies/Microsoft.pm > lib/HTTP/Cookies/Netscape.pm > lib/HTTP/Cookies.pm > > Deps: HTTP-Date HTTP-Message > > HTTP-Daemon > lib/HTTP/Daemon.pm > > Deps: HTTP-Date HTTP-Message LWP-MediaTypes > > HTML-Form > lib/HTML/Form.pm > > Deps: URI HTML-Parser HTTP-Message > > Net-HTTP > lib/Net/HTTP/Methods.pm > lib/Net/HTTP/NB.pm > lib/Net/HTTP.pm > lib/Net/HTTPS.pm > > Deps: Compress-Raw-Zlib IO-Compress-Gzip (IO-Socket-SSL) > > LWP-UserAgent > lib/LWP/Authen/Basic.pm > lib/LWP/Authen/Digest.pm > lib/LWP/Authen/Ntlm.pm > lib/LWP/ConnCache.pm > lib/LWP/Debug/TraceHTTP.pm > lib/LWP/Debug.pm > lib/LWP/DebugFile.pm > lib/LWP/MemberMixin.pm > lib/LWP/Protocol/cpan.pm > lib/LWP/Protocol/data.pm > lib/LWP/Protocol/file.pm > lib/LWP/Protocol/ftp.pm > lib/LWP/Protocol/GHTTP.pm > lib/LWP/Protocol/gopher.pm > lib/LWP/Protocol/http.pm > lib/LWP/Protocol/http10.pm > lib/LWP/Protocol/https.pm > lib/LWP/Protocol/https10.pm > lib/LWP/Protocol/loopback.pm > lib/LWP/Protocol/mailto.pm > lib/LWP/Protocol/nntp.pm > lib/LWP/Protocol/nogo.pm > lib/LWP/Protocol.pm > lib/LWP/RobotUA.pm > lib/LWP/Simple.pm > lib/LWP/UserAgent.pm > > Deps: Digest-MD5 Encode-Locale HTML-Parser HTTP-Cookies HTTP-Date > HTTP-Message HTTP-Negotiate LWP-MediaTypes Net-HTTP WWW-RobotRules > > LWP-scripts > bin/lwp-download > bin/lwp-dump > bin/lwp-mirror > bin/lwp-request > > Deps: HTTP-Date URI HTTP-Message Encode-Locale LWP-UserAgent LWP-MediaTypes > > libwww-perl > lib/Bundle/LWP.pm > lib/LWP.pm > > Deps: LWP-UserAgent LWP-scripts HTML-Form >