One of my users stumbled onto the `-o <format>' option to GET, and despite
the fact that I had all the *required* prerequisites installed for
libwww-perl-5.76, that option didn't work.

At first I thought it was a typo in the script, since it was trying to
require HTML::Parse (since HTML::Parser is a prerequisite), and it wasn't
obvious what group of modules contained HTML::Parse.

I've added a small bit of verbiage to the README and lwp-request that
indicate that the `-o <format>' option requires the module HTML-Format
and its prerequisites.  That should be enough to get people on the right
trail.

I also updated a couple copyrights to 2004, but I didn't hunt around for
any other ones.  The patch is inline.

Thanks!

Tim
-- 
Tim Mooney                              [EMAIL PROTECTED]
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164


diff -ur libwww-perl-5.76.orig/README libwww-perl-5.76/README
--- libwww-perl-5.76.orig/README        1970-01-01 06:37:34.000000000 -0600
+++ libwww-perl-5.76/README     2004-01-13 18:19:47.090894000 -0600
@@ -45,6 +45,8 @@
 install the Crypt::SSLeay or the IO::Socket::SSL module.  The
 README.SSL file will tell you more about how libwww-perl supports SSL.

+lwp-request and related scripts (e.g. GET) require HTML-Format and its
+prerequisites to generate output in other formats.


 INSTALLATION
@@ -115,7 +117,7 @@

 COPYRIGHT

-  © 1995-2003 Gisle Aas. All rights reserved.
+  © 1995-2004 Gisle Aas. All rights reserved.
   © 1995 Martijn Koster. All rights reserved.

 This library is free software; you can redistribute it and/or modify
diff -ur libwww-perl-5.76.orig/bin/lwp-request libwww-perl-5.76/bin/lwp-request
--- libwww-perl-5.76.orig/bin/lwp-request       2003-10-26 08:39:18.000000000 -0600
+++ libwww-perl-5.76/bin/lwp-request    2004-01-13 18:16:57.340778000 -0600
@@ -135,6 +135,8 @@
 The I<html> format will reformat the HTML code and the I<dump> format
 will just dump the HTML syntax tree.

+This option requires the HTML-Format module and its prerequisites.
+
 =item -v

 Print the version number of the program and quit.
@@ -163,7 +165,7 @@

 =head1 COPYRIGHT

-Copyright 1995-1999 Gisle Aas.
+Copyright 1995-2004 Gisle Aas.

 This library is free software; you can redistribute it and/or
 modify it under the same terms as Perl itself.

Reply via email to