Imported Upstream version 6.58 upstream/6.58
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 21 Jul 2022 02:28:28 +0000 (11:28 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 21 Jul 2022 02:28:28 +0000 (11:28 +0900)
40 files changed:
Changes
INSTALL
LICENSE
MANIFEST
META.json
META.yml
Makefile.PL
bin/lwp-request
cpanfile
lib/LWP.pm
lib/LWP/Authen/Basic.pm
lib/LWP/Authen/Digest.pm
lib/LWP/Authen/Ntlm.pm
lib/LWP/ConnCache.pm
lib/LWP/Debug.pm
lib/LWP/Debug/TraceHTTP.pm
lib/LWP/DebugFile.pm
lib/LWP/MemberMixin.pm
lib/LWP/Protocol.pm
lib/LWP/Protocol/cpan.pm
lib/LWP/Protocol/data.pm
lib/LWP/Protocol/file.pm
lib/LWP/Protocol/ftp.pm
lib/LWP/Protocol/gopher.pm
lib/LWP/Protocol/http.pm
lib/LWP/Protocol/loopback.pm
lib/LWP/Protocol/mailto.pm
lib/LWP/Protocol/nntp.pm
lib/LWP/Protocol/nogo.pm
lib/LWP/RobotUA.pm
lib/LWP/Simple.pm
lib/LWP/UserAgent.pm
t/00-report-prereqs.dd
t/base/ua_handlers.t
t/local/http.t
t/local/httpsub.t
t/local/protosub.t
xt/author/live/jigsaw/auth-b.t
xt/author/live/jigsaw/auth-d.t
xt/release/changes_has_content.t

diff --git a/Changes b/Changes
index 6bc5dfb416ae5685f5f1f3cf1d8218a4b74b1391..1d43f9b892abf6ca6da93e0bb5319cdde636a985 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,5 +1,10 @@
 Change history for libwww-perl
 
+6.58      2021-10-25 20:40:59Z
+    - Add a test for "response_redirect" (GH#387) (James Raspass)
+    - Improve documentation readability (GH#388) (Julien Fiegehenn)
+    - Replace remaining uses of "base" with "parent" (GH#389) (James Raspass)
+
 6.57      2021-09-20 20:20:14Z
     - Update docs for protocols_allowed and protocols forbidden (GH#386) (Olaf Alders)
 
diff --git a/INSTALL b/INSTALL
index 48656c39da6cabf19a118703d19635e75d85a8b2..1a53d96a389332c1c2f44103b45a4bbfbacbcc81 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -21,8 +21,11 @@ Alternatively, if your CPAN shell is set up, you should just be able to do:
 
 ## Manual installation
 
-As a last resort, you can manually install it. Download the tarball, untar it,
-install configure prerequisites (see below), then build it:
+As a last resort, you can manually install it. If you have not already
+downloaded the release tarball, you can find the download link on the module's
+MetaCPAN page: https://metacpan.org/pod/LWP
+
+Untar the tarball, install configure prerequisites (see below), then build it:
 
     % perl Makefile.PL
     % make && make test
diff --git a/LICENSE b/LICENSE
index 46c936f3e3182bbc7090d7da827dd642a6a5845c..6cd4925ef5d29a9808118e0b73b0593bc6d398c0 100644 (file)
--- a/LICENSE
+++ b/LICENSE
@@ -292,21 +292,21 @@ Definitions:
 
   - "Package" refers to the collection of files distributed by the Copyright
     Holder, and derivatives of that collection of files created through
-    textual modification. 
+    textual modification.
   - "Standard Version" refers to such a Package if it has not been modified,
     or has been modified in accordance with the wishes of the Copyright
-    Holder. 
+    Holder.
   - "Copyright Holder" is whoever is named in the copyright or copyrights for
-    the package. 
+    the package.
   - "You" is you, if you're thinking about copying or distributing this Package.
   - "Reasonable copying fee" is whatever you can justify on the basis of media
     cost, duplication charges, time of people involved, and so on. (You will
     not be required to justify it to the Copyright Holder, but only to the
-    computing community at large as a market that must bear the fee.) 
+    computing community at large as a market that must bear the fee.)
   - "Freely Available" means that no fee is charged for the item itself, though
     there may be fees involved in handling the item. It also means that
     recipients of the item may redistribute it under the same conditions they
-    received it. 
+    received it.
 
 1. You may make and give away verbatim copies of the source form of the
 Standard Version of this Package without restriction, provided that you
@@ -373,7 +373,7 @@ products derived from this software without specific prior written permission.
 
 9. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
 WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
-MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 
 The End
 
index 97bac06dbac0ef881b4011830aa4225f189f6e8a..c67938a784f04312ab81728c8f26e3e644e5caa1 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.017.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.024.
 CONTRIBUTING.md
 Changes
 INSTALL
index e2a7a66950206392064d8455577e7d0c08e4e7b8..be276bde70122e12017c09bdfa777b8985203b38 100644 (file)
--- a/META.json
+++ b/META.json
@@ -4,7 +4,7 @@
       "Gisle Aas <gisle@activestate.com>"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010",
+   "generated_by" : "Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010",
    "license" : [
       "perl_5"
    ],
@@ -77,7 +77,7 @@
             "URI" : "1.10",
             "URI::Escape" : "0",
             "WWW::RobotRules" : "6",
-            "base" : "0",
+            "parent" : "0.217",
             "perl" : "5.008001",
             "strict" : "0",
             "warnings" : "0"
    "provides" : {
       "LWP" : {
          "file" : "lib/LWP.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::Authen::Basic" : {
          "file" : "lib/LWP/Authen/Basic.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::Authen::Digest" : {
          "file" : "lib/LWP/Authen/Digest.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::Authen::Ntlm" : {
          "file" : "lib/LWP/Authen/Ntlm.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::ConnCache" : {
          "file" : "lib/LWP/ConnCache.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::Debug" : {
          "file" : "lib/LWP/Debug.pm",
-         "version" : "6.57",
+         "version" : "6.58",
          "x_deprecated" : 1
       },
       "LWP::Debug::TraceHTTP" : {
          "file" : "lib/LWP/Debug/TraceHTTP.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::DebugFile" : {
          "file" : "lib/LWP/DebugFile.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::MemberMixin" : {
          "file" : "lib/LWP/MemberMixin.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::Protocol" : {
          "file" : "lib/LWP/Protocol.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::Protocol::cpan" : {
          "file" : "lib/LWP/Protocol/cpan.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::Protocol::data" : {
          "file" : "lib/LWP/Protocol/data.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::Protocol::file" : {
          "file" : "lib/LWP/Protocol/file.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::Protocol::ftp" : {
          "file" : "lib/LWP/Protocol/ftp.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::Protocol::gopher" : {
          "file" : "lib/LWP/Protocol/gopher.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::Protocol::http" : {
          "file" : "lib/LWP/Protocol/http.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::Protocol::loopback" : {
          "file" : "lib/LWP/Protocol/loopback.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::Protocol::mailto" : {
          "file" : "lib/LWP/Protocol/mailto.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::Protocol::nntp" : {
          "file" : "lib/LWP/Protocol/nntp.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::Protocol::nogo" : {
          "file" : "lib/LWP/Protocol/nogo.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::RobotUA" : {
          "file" : "lib/LWP/RobotUA.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::Simple" : {
          "file" : "lib/LWP/Simple.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       },
       "LWP::UserAgent" : {
          "file" : "lib/LWP/UserAgent.pm",
-         "version" : "6.57"
+         "version" : "6.58"
       }
    },
    "release_status" : "stable",
       "x_IRC" : "irc://irc.perl.org/#lwp",
       "x_MailingList" : "mailto:libwww@perl.org"
    },
-   "version" : "6.57",
+   "version" : "6.58",
    "x_Dist_Zilla" : {
       "perl" : {
          "version" : "5.026001"
                }
             },
             "name" : "Git::GatherDir",
-            "version" : "2.047"
+            "version" : "2.048"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaConfig",
             "name" : "MetaConfig",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaProvides::Package",
                      {
                         "class" : "Dist::Zilla::Plugin::FinderCode",
                         "name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM",
-                        "version" : "6.017"
+                        "version" : "6.024"
                      }
                   ],
                   "include_underscores" : 0
          {
             "class" : "Dist::Zilla::Plugin::MetaNoIndex",
             "name" : "MetaNoIndex",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaYAML",
             "name" : "MetaYAML",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaJSON",
             "name" : "MetaJSON",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::MetaResources",
             "name" : "MetaResources",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::Deprecated",
             "class" : "Dist::Zilla::Plugin::Git::Contributors",
             "config" : {
                "Dist::Zilla::Plugin::Git::Contributors" : {
-                  "git_version" : "2.33.0",
+                  "git_version" : "2.33.1",
                   "include_authors" : 0,
                   "include_releaser" : 1,
                   "order_by" : "name",
          {
             "class" : "Dist::Zilla::Plugin::Manifest",
             "name" : "Manifest",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::License",
             "name" : "License",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::InstallGuide",
                }
             },
             "name" : "InstallGuide",
-            "version" : "1.200013"
+            "version" : "1.200014"
          },
          {
             "class" : "Dist::Zilla::Plugin::ExecDir",
             "name" : "ExecDir",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::Prereqs::FromCPANfile",
             "config" : {
                "Dist::Zilla::Plugin::MakeMaker" : {
                   "make_path" : "make",
-                  "version" : "6.017"
+                  "version" : "6.024"
                },
                "Dist::Zilla::Role::TestRunner" : {
                   "default_jobs" : "1",
-                  "version" : "6.017"
+                  "version" : "6.024"
                }
             },
             "name" : "MakeMaker::Awesome",
-            "version" : "0.48"
+            "version" : "0.49"
          },
          {
             "class" : "Dist::Zilla::Plugin::MojibakeTests",
          {
             "class" : "Dist::Zilla::Plugin::PodSyntaxTests",
             "name" : "PodSyntaxTests",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable",
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.33.0",
+                  "git_version" : "2.33.1",
                   "repo_root" : "."
                }
             },
             "name" : "Git::Check",
-            "version" : "2.047"
+            "version" : "2.048"
          },
          {
             "class" : "Dist::Zilla::Plugin::CheckStrictVersion",
          {
             "class" : "Dist::Zilla::Plugin::TestRelease",
             "name" : "TestRelease",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::UploadToCPAN",
             "name" : "UploadToCPAN",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
                }
             },
             "name" : "@Git::VersionManager/pluginbundle version",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::RewriteVersion::Transitional",
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.33.0",
+                  "git_version" : "2.33.1",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
                }
             },
             "name" : "@Git::VersionManager/release snapshot",
-            "version" : "2.047"
+            "version" : "2.048"
          },
          {
             "class" : "Dist::Zilla::Plugin::Git::Tag",
                   "branch" : null,
                   "changelog" : "Changes",
                   "signed" : 0,
-                  "tag" : "v6.57",
+                  "tag" : "v6.58",
                   "tag_format" : "v%V",
                   "tag_message" : "v%V"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.33.0",
+                  "git_version" : "2.33.1",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
                }
             },
             "name" : "@Git::VersionManager/Git::Tag",
-            "version" : "2.047"
+            "version" : "2.048"
          },
          {
             "class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional",
          {
             "class" : "Dist::Zilla::Plugin::NextRelease",
             "name" : "@Git::VersionManager/NextRelease",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::Git::Commit",
                   "changelog" : "Changes"
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.33.0",
+                  "git_version" : "2.33.1",
                   "repo_root" : "."
                },
                "Dist::Zilla::Role::Git::StringFormatter" : {
                }
             },
             "name" : "@Git::VersionManager/post-release commit",
-            "version" : "2.047"
+            "version" : "2.048"
          },
          {
             "class" : "Dist::Zilla::Plugin::Git::Push",
                   "remotes_must_exist" : 1
                },
                "Dist::Zilla::Role::Git::Repo" : {
-                  "git_version" : "2.33.0",
+                  "git_version" : "2.33.1",
                   "repo_root" : "."
                }
             },
             "name" : "Git::Push",
-            "version" : "2.047"
+            "version" : "2.048"
          },
          {
             "class" : "Dist::Zilla::Plugin::ConfirmRelease",
             "name" : "ConfirmRelease",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":InstallModules",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":IncModules",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":TestFiles",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":ExtraTestFiles",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":ExecFiles",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":PerlExecFiles",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":ShareFiles",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":MainModule",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":AllFiles",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : ":NoFiles",
-            "version" : "6.017"
+            "version" : "6.024"
          },
          {
             "class" : "Dist::Zilla::Plugin::FinderCode",
             "name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM",
-            "version" : "6.017"
+            "version" : "6.024"
          }
       ],
       "zilla" : {
          "config" : {
             "is_trial" : 0
          },
-         "version" : "6.017"
+         "version" : "6.024"
       }
    },
    "x_contributors" : [
index 71784e1217ea05bb2b83587b86d1ebcdc634d01b..03adfeeed582cf61d485d541616ac071b292ad45 100644 (file)
--- a/META.yml
+++ b/META.yml
@@ -18,7 +18,7 @@ configure_requires:
   Getopt::Long: '0'
   Module::Metadata: '0'
 dynamic_config: 1
-generated_by: 'Dist::Zilla version 6.017, CPAN::Meta::Converter version 2.150010'
+generated_by: 'Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -31,74 +31,74 @@ no_index:
 provides:
   LWP:
     file: lib/LWP.pm
-    version: '6.57'
+    version: '6.58'
   LWP::Authen::Basic:
     file: lib/LWP/Authen/Basic.pm
-    version: '6.57'
+    version: '6.58'
   LWP::Authen::Digest:
     file: lib/LWP/Authen/Digest.pm
-    version: '6.57'
+    version: '6.58'
   LWP::Authen::Ntlm:
     file: lib/LWP/Authen/Ntlm.pm
-    version: '6.57'
+    version: '6.58'
   LWP::ConnCache:
     file: lib/LWP/ConnCache.pm
-    version: '6.57'
+    version: '6.58'
   LWP::Debug:
     file: lib/LWP/Debug.pm
-    version: '6.57'
+    version: '6.58'
     x_deprecated: 1
   LWP::Debug::TraceHTTP:
     file: lib/LWP/Debug/TraceHTTP.pm
-    version: '6.57'
+    version: '6.58'
   LWP::DebugFile:
     file: lib/LWP/DebugFile.pm
-    version: '6.57'
+    version: '6.58'
   LWP::MemberMixin:
     file: lib/LWP/MemberMixin.pm
-    version: '6.57'
+    version: '6.58'
   LWP::Protocol:
     file: lib/LWP/Protocol.pm
-    version: '6.57'
+    version: '6.58'
   LWP::Protocol::cpan:
     file: lib/LWP/Protocol/cpan.pm
-    version: '6.57'
+    version: '6.58'
   LWP::Protocol::data:
     file: lib/LWP/Protocol/data.pm
-    version: '6.57'
+    version: '6.58'
   LWP::Protocol::file:
     file: lib/LWP/Protocol/file.pm
-    version: '6.57'
+    version: '6.58'
   LWP::Protocol::ftp:
     file: lib/LWP/Protocol/ftp.pm
-    version: '6.57'
+    version: '6.58'
   LWP::Protocol::gopher:
     file: lib/LWP/Protocol/gopher.pm
-    version: '6.57'
+    version: '6.58'
   LWP::Protocol::http:
     file: lib/LWP/Protocol/http.pm
-    version: '6.57'
+    version: '6.58'
   LWP::Protocol::loopback:
     file: lib/LWP/Protocol/loopback.pm
-    version: '6.57'
+    version: '6.58'
   LWP::Protocol::mailto:
     file: lib/LWP/Protocol/mailto.pm
-    version: '6.57'
+    version: '6.58'
   LWP::Protocol::nntp:
     file: lib/LWP/Protocol/nntp.pm
-    version: '6.57'
+    version: '6.58'
   LWP::Protocol::nogo:
     file: lib/LWP/Protocol/nogo.pm
-    version: '6.57'
+    version: '6.58'
   LWP::RobotUA:
     file: lib/LWP/RobotUA.pm
-    version: '6.57'
+    version: '6.58'
   LWP::Simple:
     file: lib/LWP/Simple.pm
-    version: '6.57'
+    version: '6.58'
   LWP::UserAgent:
     file: lib/LWP/UserAgent.pm
-    version: '6.57'
+    version: '6.58'
 requires:
   Digest::MD5: '0'
   Encode: '2.12'
@@ -124,7 +124,7 @@ requires:
   URI: '1.10'
   URI::Escape: '0'
   WWW::RobotRules: '6'
-  base: '0'
+  parent: '0.217'
   perl: '5.008001'
   strict: '0'
   warnings: '0'
@@ -134,7 +134,7 @@ resources:
   bugtracker: https://github.com/libwww-perl/libwww-perl/issues
   homepage: https://github.com/libwww-perl/libwww-perl
   repository: https://github.com/libwww-perl/libwww-perl.git
-version: '6.57'
+version: '6.58'
 x_Dist_Zilla:
   perl:
     version: '5.026001'
@@ -156,11 +156,11 @@ x_Dist_Zilla:
         Dist::Zilla::Plugin::Git::GatherDir:
           include_untracked: 0
       name: Git::GatherDir
-      version: '2.047'
+      version: '2.048'
     -
       class: Dist::Zilla::Plugin::MetaConfig
       name: MetaConfig
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::MetaProvides::Package
       config:
@@ -169,7 +169,7 @@ x_Dist_Zilla:
             -
               class: Dist::Zilla::Plugin::FinderCode
               name: MetaProvides::Package/AUTOVIV/:InstallModulesPM
-              version: '6.017'
+              version: '6.024'
           include_underscores: 0
         Dist::Zilla::Role::MetaProvider::Provider:
           $Dist::Zilla::Role::MetaProvider::Provider::VERSION: '2.002004'
@@ -184,19 +184,19 @@ x_Dist_Zilla:
     -
       class: Dist::Zilla::Plugin::MetaNoIndex
       name: MetaNoIndex
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::MetaYAML
       name: MetaYAML
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::MetaJSON
       name: MetaJSON
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::MetaResources
       name: MetaResources
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::Deprecated
       config:
@@ -210,7 +210,7 @@ x_Dist_Zilla:
       class: Dist::Zilla::Plugin::Git::Contributors
       config:
         Dist::Zilla::Plugin::Git::Contributors:
-          git_version: 2.33.0
+          git_version: 2.33.1
           include_authors: 0
           include_releaser: 1
           order_by: name
@@ -224,11 +224,11 @@ x_Dist_Zilla:
     -
       class: Dist::Zilla::Plugin::Manifest
       name: Manifest
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::License
       name: License
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::InstallGuide
       config:
@@ -236,11 +236,11 @@ x_Dist_Zilla:
           Module::Metadata: '1.000037'
           version: '0.004'
       name: InstallGuide
-      version: '1.200013'
+      version: '1.200014'
     -
       class: Dist::Zilla::Plugin::ExecDir
       name: ExecDir
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::Prereqs::FromCPANfile
       name: Prereqs::FromCPANfile
@@ -258,12 +258,12 @@ x_Dist_Zilla:
       config:
         Dist::Zilla::Plugin::MakeMaker:
           make_path: make
-          version: '6.017'
+          version: '6.024'
         Dist::Zilla::Role::TestRunner:
           default_jobs: '1'
-          version: '6.017'
+          version: '6.024'
       name: MakeMaker::Awesome
-      version: '0.48'
+      version: '0.49'
     -
       class: Dist::Zilla::Plugin::MojibakeTests
       name: MojibakeTests
@@ -335,7 +335,7 @@ x_Dist_Zilla:
     -
       class: Dist::Zilla::Plugin::PodSyntaxTests
       name: PodSyntaxTests
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::Test::Pod::Coverage::Configurable
       name: Test::Pod::Coverage::Configurable
@@ -477,10 +477,10 @@ x_Dist_Zilla:
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.33.0
+          git_version: 2.33.1
           repo_root: .
       name: Git::Check
-      version: '2.047'
+      version: '2.048'
     -
       class: Dist::Zilla::Plugin::CheckStrictVersion
       name: CheckStrictVersion
@@ -503,11 +503,11 @@ x_Dist_Zilla:
     -
       class: Dist::Zilla::Plugin::TestRelease
       name: TestRelease
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::UploadToCPAN
       name: UploadToCPAN
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::ReadmeAnyFromPod
       config:
@@ -532,7 +532,7 @@ x_Dist_Zilla:
           phase: develop
           type: recommends
       name: '@Git::VersionManager/pluginbundle version'
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::RewriteVersion::Transitional
       config:
@@ -575,12 +575,12 @@ x_Dist_Zilla:
           allow_dirty_match: []
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.33.0
+          git_version: 2.33.1
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
       name: '@Git::VersionManager/release snapshot'
-      version: '2.047'
+      version: '2.048'
     -
       class: Dist::Zilla::Plugin::Git::Tag
       config:
@@ -588,16 +588,16 @@ x_Dist_Zilla:
           branch: ~
           changelog: Changes
           signed: 0
-          tag: v6.57
+          tag: v6.58
           tag_format: v%V
           tag_message: v%V
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.33.0
+          git_version: 2.33.1
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
       name: '@Git::VersionManager/Git::Tag'
-      version: '2.047'
+      version: '2.048'
     -
       class: Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional
       config:
@@ -613,7 +613,7 @@ x_Dist_Zilla:
     -
       class: Dist::Zilla::Plugin::NextRelease
       name: '@Git::VersionManager/NextRelease'
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::Git::Commit
       config:
@@ -630,12 +630,12 @@ x_Dist_Zilla:
             - (?^:^lib/.*\.pm$)
           changelog: Changes
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.33.0
+          git_version: 2.33.1
           repo_root: .
         Dist::Zilla::Role::Git::StringFormatter:
           time_zone: local
       name: '@Git::VersionManager/post-release commit'
-      version: '2.047'
+      version: '2.048'
     -
       class: Dist::Zilla::Plugin::Git::Push
       config:
@@ -644,63 +644,63 @@ x_Dist_Zilla:
             - origin
           remotes_must_exist: 1
         Dist::Zilla::Role::Git::Repo:
-          git_version: 2.33.0
+          git_version: 2.33.1
           repo_root: .
       name: Git::Push
-      version: '2.047'
+      version: '2.048'
     -
       class: Dist::Zilla::Plugin::ConfirmRelease
       name: ConfirmRelease
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':InstallModules'
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':IncModules'
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':TestFiles'
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':ExtraTestFiles'
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':ExecFiles'
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':PerlExecFiles'
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':ShareFiles'
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':MainModule'
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':AllFiles'
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: ':NoFiles'
-      version: '6.017'
+      version: '6.024'
     -
       class: Dist::Zilla::Plugin::FinderCode
       name: MetaProvides::Package/AUTOVIV/:InstallModulesPM
-      version: '6.017'
+      version: '6.024'
   zilla:
     class: Dist::Zilla::Dist::Builder
     config:
       is_trial: '0'
-    version: '6.017'
+    version: '6.024'
 x_contributors:
   - 'Adam Kennedy <adamk@cpan.org>'
   - 'Adam Sjogren <asjo@koldfront.dk>'
index cb3f5cbb269117d55f9ba3d5cfafea3db6a5d723..3ccd1509326c59236ca52c25bf1d8e97b923e848 100644 (file)
@@ -1,5 +1,5 @@
 # This Makefile.PL for libwww-perl was generated by
-# Dist::Zilla::Plugin::MakeMaker::Awesome 0.48.
+# Dist::Zilla::Plugin::MakeMaker::Awesome 0.49.
 # Don't edit it but the dist.ini and plugins used to construct it.
 
 use strict;
@@ -72,7 +72,7 @@ my %WriteMakefileArgs = (
     "URI" => "1.10",
     "URI::Escape" => 0,
     "WWW::RobotRules" => 6,
-    "base" => 0,
+    "parent" => "0.217",
     "strict" => 0,
     "warnings" => 0
   },
@@ -86,7 +86,7 @@ my %WriteMakefileArgs = (
     "Test::Needs" => 0,
     "Test::RequiresInternet" => 0
   },
-  "VERSION" => "6.57",
+  "VERSION" => "6.58",
   "test" => {
     "TESTS" => "t/*.t t/base/*.t t/base/protocols/*.t t/leak/*.t t/local/*.t t/robot/*.t"
   }
@@ -130,7 +130,7 @@ my %FallbackPrereqs = (
   "URI" => "1.10",
   "URI::Escape" => 0,
   "WWW::RobotRules" => 6,
-  "base" => 0,
+  "parent" => "0.217",
   "strict" => 0,
   "warnings" => 0
 );
index 8388b4b392ab1ee54df1f0052d49ad09f7b4165b..355ff3dae97a38cc77ab1bd8043544c7059858d9 100755 (executable)
@@ -226,7 +226,7 @@ my %options;
 
     use strict;
     use warnings;
-    use base qw(LWP::UserAgent);
+    use parent qw(LWP::UserAgent);
 
     sub new {
         my $self = LWP::UserAgent::new(@_);
index 1fd783195d0dbf9e153141bd5d9a9e85ad9a19d1..a41fadb94c6d606d7578c5d9c84519330e4c7928 100644 (file)
--- a/cpanfile
+++ b/cpanfile
@@ -11,7 +11,7 @@ on 'runtime' => sub {
     requires 'perl' => '5.008001';
     requires 'strict';
     requires 'warnings';
-    requires 'base';
+    requires 'parent' => '0.217';
     requires 'Digest::MD5';
     requires 'Encode' => '2.12';
     requires 'Encode::Locale';
index d5778fdfcf52e02ad88d70fa226962f6f5fcdc30..290590440f81f151a551c963a088d3a6cecf2a5b 100644 (file)
@@ -1,6 +1,6 @@
 package LWP;
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 require LWP::UserAgent;  # this should load everything you need
 
@@ -103,7 +103,7 @@ The libwww-perl library is based on HTTP style communication. This
 section tries to describe what that means.
 
 Let us start with this quote from the HTTP specification document
-<URL:http://www.w3.org/Protocols/>:
+L<http://www.w3.org/Protocols/>:
 
 =over 3
 
@@ -273,12 +273,12 @@ address will be sent to the servers with every request.
 =item *
 
 B<parse_head> specifies whether we should initialize response
-headers from the E<lt>head> section of HTML documents.
+headers from the C<< <head> >> section of HTML documents.
 
 =item *
 
 B<proxy> and B<no_proxy> specify if and when to go through
-a proxy server. <URL:http://www.w3.org/History/1994/WWW/Proxies/>
+a proxy server. L<http://www.w3.org/History/1994/WWW/Proxies/>
 
 =item *
 
@@ -318,7 +318,7 @@ represented in actual perl code:
       print $res->status_line, "\n";
   }
 
-The $ua is created once when the application starts up.  New request
+The C<$ua> is created once when the application starts up.  New request
 objects should normally created for each request sent.
 
 
@@ -328,7 +328,7 @@ This section discusses the various protocol schemes and
 the HTTP style methods that headers may be used for each.
 
 For all requests, a "User-Agent" header is added and initialized from
-the $ua->agent attribute before the request is handed to the network
+the C<< $ua->agent >> attribute before the request is handed to the network
 layer.  In the same way, a "From" header is initialized from the
 $ua->from attribute.
 
index 52478ace990e422973ab139f742367b7345112ed..a213da5f359c170facdb198788f63a5d409d9ae0 100644 (file)
@@ -2,7 +2,7 @@ package LWP::Authen::Basic;
 
 use strict;
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 require Encode;
 require MIME::Base64;
index f739f7e33f56c6e496d01a0141f8f0b955ea6011..2f0a97f7752f4b2bb8bbed52b0a3d51986f07272 100644 (file)
@@ -1,9 +1,9 @@
 package LWP::Authen::Digest;
 
 use strict;
-use base 'LWP::Authen::Basic';
+use parent 'LWP::Authen::Basic';
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 require Digest::MD5;
 
index 9d3dcfecbd08ff32193275545b82930179cdeec8..deb5f0f0f90a8c0b191f3f3586367eeb7f5e31e9 100644 (file)
@@ -2,7 +2,7 @@ package LWP::Authen::Ntlm;
 
 use strict;
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 use Authen::NTLM "1.02";
 use MIME::Base64 "2.12";
@@ -127,9 +127,9 @@ entirely different interface, it is necessary to ensure that you have the correc
 NTLM module.
 
 In addition, there have been problems with incompatibilities between different
-versions of Mime::Base64, which Bush's Authen::NTLM makes use of.  Therefore, it is
+versions of L<Mime::Base64>, which Bush's L<Authen::NTLM> makes use of.  Therefore, it is
 necessary to ensure that your Mime::Base64 module supports exporting of the
-encode_base64 and decode_base64 functions.
+C<encode_base64> and C<decode_base64> functions.
 
 =head1 USAGE
 
@@ -145,7 +145,7 @@ code prior to attempting to retrieve the URL:
 
 Enable persistent HTTP connections
 
-To do this, pass the "keep_alive=>1" option to the LWP::UserAgent when creating it, like this:
+To do this, pass the C<< "keep_alive=>1" >> option to the L<LWP::UserAgent> when creating it, like this:
 
     my $ua = LWP::UserAgent->new(keep_alive=>1);
 
@@ -157,8 +157,8 @@ The credentials must be set like this:
 
    $ua->credentials('www.company.com:80', '', "MyDomain\\MyUserCode", 'MyPassword');
 
-Note that you cannot use the HTTP::Request object's authorization_basic() method to set
-the credentials.  Note, too, that the 'www.company.com:80' portion only sets credentials
+Note that you cannot use the L<HTTP::Request> object's C<authorization_basic()> method to set
+the credentials.  Note, too, that the C<'www.company.com:80'> portion only sets credentials
 on the specified port AND it is case-sensitive (this is due to the way LWP is coded, and
 has nothing to do with LWP::Authen::Ntlm)
 
index e143d2815c31b29bad4bb3dfd6aba5363bf09b6d..a50ade1b195fd9594ad47fcd7c0ea7119ec6aab0 100644 (file)
@@ -2,7 +2,7 @@ package LWP::ConnCache;
 
 use strict;
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 our $DEBUG;
 
 sub new {
@@ -222,7 +222,7 @@ then there is no limit.
 
 Get/set a limit for the number of connections of the specified type
 that can be cached.  The first parameter is a short string like
-"http" or "ftp".
+C<"http"> or C<"ftp">.
 
 =head2 drop
 
@@ -245,9 +245,9 @@ that can be cached.  The first parameter is a short string like
 Drop connections by some criteria.  The $checker argument is a
 subroutine that is called for each connection.  If the routine returns
 a TRUE value then the connection is dropped.  The routine is called
-with ($conn, $type, $key, $deposit_time) as arguments.
+with C<($conn, $type, $key, $deposit_time)> as arguments.
 
-Shortcuts: If the $checker argument is absent (or C<undef>) all cached
+Shortcuts: If the C<$checker> argument is absent (or C<undef>) all cached
 connections are dropped.  If the $checker is a number then all
 connections untouched that the given number of seconds or more are
 dropped.  If $checker is a string then all connections of the given
index 92d6baa55335f5a8d0584c644cc4c23104224304..f3bf51ec8cac4fb9bf9fdd30f4f64ae62bebd34b 100644 (file)
@@ -1,6 +1,6 @@
 package LWP::Debug;    # legacy
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 require Exporter;
 our @ISA       = qw(Exporter);
index 137cc1ec74c382b798f0ab5608149a739cb08fbb..a919be6143edeb52e7bd7f4f8af99109b9e46f00 100644 (file)
@@ -9,9 +9,9 @@ package LWP::Debug::TraceHTTP;
 # programs that use LWP.
 
 use strict;
-use base 'LWP::Protocol::http';
+use parent 'LWP::Protocol::http';
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 package # hide from PAUSE
     LWP::Debug::TraceHTTP::Socket;
index 9531deaf20d48793caa9ee281fece1ddffb194b0..26ef3e420a6765b947d2d7de761542425cf69097 100644 (file)
@@ -1,6 +1,6 @@
 package LWP::DebugFile;
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 # legacy stub
 
index 0cc2fc1cfe42784cede13bde138715cbf45888c9..89e2aa4c99c8e3c913adcc40065fa8fea1290ffd 100644 (file)
@@ -1,6 +1,6 @@
 package LWP::MemberMixin;
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 sub _elem {
     my $self = shift;
@@ -23,7 +23,7 @@ LWP::MemberMixin - Member access mixin class
 =head1 SYNOPSIS
 
  package Foo;
- use base qw(LWP::MemberMixin);
+ use parent qw(LWP::MemberMixin);
 
 =head1 DESCRIPTION
 
index eac243ed594607efe781b86026ff189a5fe4fb7a..94c5ff100acaeb23f979a572575baaa342350116 100644 (file)
@@ -1,8 +1,8 @@
 package LWP::Protocol;
 
-use base 'LWP::MemberMixin';
+use parent 'LWP::MemberMixin';
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 use strict;
 use Carp ();
@@ -210,7 +210,7 @@ LWP::Protocol - Base class for LWP protocols
 =head1 SYNOPSIS
 
  package LWP::Protocol::foo;
- use base qw(LWP::Protocol);
+ use parent qw(LWP::Protocol);
 
 =head1 DESCRIPTION
 
@@ -223,9 +223,9 @@ appropriate for that access method. In other words, the
 L<LWP::Protocol/create> function calls the constructor for one of its
 subclasses.
 
-All derived C<LWP::Protocol> classes need to override the request()
+All derived C<LWP::Protocol> classes need to override the C<request()>
 method which is used to service a request. The overridden method can
-make use of the collect() function to collect together chunks of data
+make use of the C<collect()> method to collect together chunks of data
 as it is received.
 
 =head1 METHODS
index da0a8d650438a6b0ed164f89681925c0c1803a1d..3e044681bdd5ee42f8839b70032a7893bfbab445 100644 (file)
@@ -2,9 +2,9 @@ package LWP::Protocol::cpan;
 
 use strict;
 
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 require URI;
 require HTTP::Status;
index ba723969a2b080ca0c7f7a2e1a87b9b3e6d74ac7..e0dea182c4fa3d0962bda483883894ea8d7e767a 100644 (file)
@@ -4,12 +4,12 @@ package LWP::Protocol::data;
 
 use strict;
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 require HTTP::Response;
 require HTTP::Status;
 
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
 
 use HTTP::Date qw(time2str);
 require LWP;  # needs version number
index 0442ed4187d7071bdef43d402baa4f73dea46a91..7734471b37fc8469c2cc832415edcd8a801e6bde 100644 (file)
@@ -1,10 +1,10 @@
 package LWP::Protocol::file;
 
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
 
 use strict;
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 require LWP::MediaTypes;
 require HTTP::Request;
index 8d94448c2b9600ebd8ee0cacd3d2e41819a194c3..90ecd1985c551f613fe916c2a476b96fe21c0a23 100644 (file)
@@ -2,10 +2,10 @@ package LWP::Protocol::ftp;
 
 # Implementation of the ftp protocol (RFC 959). We let the Net::FTP
 # package do all the dirty work.
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
 use strict;
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 use Carp            ();
 use HTTP::Status    ();
@@ -21,7 +21,7 @@ use File::Listing   ();
         LWP::Protocol::MyFTP;
 
     use strict;
-    use base qw(Net::FTP);
+    use parent qw(Net::FTP);
 
     sub new {
         my $class = shift;
index 7d180260a6c000c4160ff2975a7672448763abb9..c982f0ef110b76822d055604d2d183f5c2edae62 100644 (file)
@@ -9,14 +9,14 @@ package LWP::Protocol::gopher;
 
 use strict;
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 require HTTP::Response;
 require HTTP::Status;
 require IO::Socket;
 require IO::Select;
 
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
 
 
 my %gopher2mimetype = (
index a0217b89ceb9f12dd183fc555541a22f14d97fac..8b12f6da498cea232845ff8d5e820073180900bd 100644 (file)
@@ -2,13 +2,13 @@ package LWP::Protocol::http;
 
 use strict;
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 require HTTP::Response;
 require HTTP::Status;
 require Net::HTTP;
 
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
 
 our @EXTRA_SOCK_OPTS;
 my $CRLF = "\015\012";
index cb4368e61d0b4b627977ad36b18b859b8d509dc2..e9f9efd67815649d9cfdd17e630739053464c371 100644 (file)
@@ -2,11 +2,11 @@ package LWP::Protocol::loopback;
 
 use strict;
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 require HTTP::Response;
 
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
 
 sub request {
     my($self, $request, $proxy, $arg, $size, $timeout) = @_;
index 92fd2635af9d7ca19bab8cdff556a192ddbf7cfc..6f0551d0c7b9adccbe64b885fde888994096876b 100644 (file)
@@ -11,9 +11,9 @@ require HTTP::Status;
 use Carp;
 use strict;
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
 our $SENDMAIL;
 
 unless ($SENDMAIL = $ENV{SENDMAIL}) {
index 0b3acc957655a0b199870835b82bfbc3d0e5c4dc..3a82533e344d09095425989c4330eb648d7036ce 100644 (file)
@@ -2,9 +2,9 @@ package LWP::Protocol::nntp;
 
 # Implementation of the Network News Transfer Protocol (RFC 977)
 
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 require HTTP::Response;
 require HTTP::Status;
index 9ed7ef706ed113b1f4c9888cb209f6eb4594a92a..035f213cb21005b23d00eb0dbf05de7efd231507 100644 (file)
@@ -7,11 +7,11 @@ package LWP::Protocol::nogo;
 
 use strict;
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 require HTTP::Response;
 require HTTP::Status;
-use base qw(LWP::Protocol);
+use parent qw(LWP::Protocol);
 
 sub request {
     my($self, $request) = @_;
index f1ff0a5bfb1998cfca67a68b03393c18da953220..4983bbacd2872abafb1b12901657b9fee13747a9 100644 (file)
@@ -1,8 +1,8 @@
 package LWP::RobotUA;
 
-use base qw(LWP::UserAgent);
+use parent qw(LWP::UserAgent);
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 require WWW::RobotRules;
 require HTTP::Request;
@@ -215,7 +215,7 @@ should consult the F</robots.txt> file to ensure that they are welcomed
 and they should not make requests too frequently.
 
 But before you consider writing a robot, take a look at
-L<URL:http://www.robotstxt.org/>.
+L<http://www.robotstxt.org/>.
 
 When you use an I<LWP::RobotUA> object as your user agent, then you do not
 really have to think about these things yourself; C<robots.txt> files
@@ -240,7 +240,7 @@ same methods. In addition the following methods are provided:
 The LWP::UserAgent options C<agent> and C<from> are mandatory.  The
 options C<delay>, C<use_sleep> and C<rules> initialize attributes
 private to the RobotUA.  If C<rules> are not provided, then
-C<WWW::RobotRules> is instantiated providing an internal database of
+L<WWW::RobotRules> is instantiated providing an internal database of
 F<robots.txt>.
 
 It is also possible to just pass the value of C<agent>, C<from> and
index bab84ca1ac8b10297877440306b977bc3762ce81..1868002b0edd840a81b978c424775084a67eef03 100644 (file)
@@ -2,7 +2,7 @@ package LWP::Simple;
 
 use strict;
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 require Exporter;
 
index 2c10c0efdc90c5314c9d601a567dcb4872345ebf..65d5acdbf33c54ce63a0ebb75abccd66885790af 100644 (file)
@@ -2,7 +2,7 @@ package LWP::UserAgent;
 
 use strict;
 
-use base qw(LWP::MemberMixin);
+use parent qw(LWP::MemberMixin);
 
 use Carp ();
 use HTTP::Request ();
@@ -16,7 +16,7 @@ use LWP::Protocol ();
 use Scalar::Util qw(blessed);
 use Try::Tiny qw(try catch);
 
-our $VERSION = '6.57';
+our $VERSION = '6.58';
 
 sub new
 {
@@ -1795,7 +1795,7 @@ Set handlers private to the executing subroutine.  Works by defaulting
 an C<owner> field to the C<%matchspec> that holds the name of the called
 subroutine.  You might pass an explicit C<owner> to override this.
 
-If $cb is passed as C<undef>, remove the handler.
+If C<$cb> is passed as C<undef>, remove the handler.
 
 =head1 REQUEST METHODS
 
@@ -1811,7 +1811,7 @@ This method will dispatch a C<DELETE> request on the given URL.  Additional
 headers and content options are the same as for the L<LWP::UserAgent/get>
 method.
 
-This method will use the DELETE() function from L<HTTP::Request::Common>
+This method will use the C<DELETE()> function from L<HTTP::Request::Common>
 to build the request.  See L<HTTP::Request::Common> for a details on
 how to pass form content and other advanced features.
 
@@ -1843,7 +1843,7 @@ content is treated.  The following special field names are recognized:
     ':content_cb'     => \&callback
     ':read_size_hint' => $bytes
 
-If a $filename is provided with the C<:content_file> option, then the
+If a C<$filename> is provided with the C<:content_file> option, then the
 response content will be saved here instead of in the response
 object.  If a callback is provided with the C<:content_cb> option then
 this function will be called for each chunk of the response content as
@@ -1865,9 +1865,9 @@ number of callback invocations.
 
 The callback function is called with 3 arguments: a chunk of data, a
 reference to the response object, and a reference to the protocol
-object.  The callback can abort the request by invoking die().  The
+object.  The callback can abort the request by invoking C<die()>.  The
 exception message will show up as the "X-Died" header field in the
-response returned by the get() function.
+response returned by the C<< $ua->get() >> method.
 
 =head2 head
 
index 32085af1a7366682ccc1e9356cd44debead3d91d..538b53d4d17744f13360d689bb5ff9eaab708432 100644 (file)
@@ -56,7 +56,7 @@ do { my $x = {
                                       'URI' => '1.10',
                                       'URI::Escape' => '0',
                                       'WWW::RobotRules' => '6',
-                                      'base' => '0',
+                                      'parent' => '0.217',
                                       'perl' => '5.008001',
                                       'strict' => '0',
                                       'warnings' => '0'
index 29a57b64a96accd9c1f35dd3cf3ece089d5f173c..df7841b756369c082c99fa708d285fcc8ad2a7ba 100644 (file)
@@ -13,21 +13,26 @@ delete $ENV{PERL_LWP_SSL_CA_FILE};
 delete $ENV{PERL_LWP_SSL_CA_PATH};
 delete $ENV{PERL_LWP_ENV_PROXY};
 
-my $ua = LWP::UserAgent->new;
-$ua->add_handler(
-    request_send => sub {
-        my ($request, $ua, $handler) = @_;
-        return HTTP::Response->new(200,'OK',[],'ok');
-    }
-);
+sub ua {
+    my $ua = LWP::UserAgent->new;
+    $ua->add_handler(
+        request_send => sub {
+            my ($request, $ua, $handler) = @_;
+            return HTTP::Response->new(200,'OK',[],'ok');
+        }
+    );
+    return $ua;
+}
 
 subtest 'request_send' => sub {
+    my $ua = ua;
     my $res = $ua->get('http://www.example.com');
     ok($res->is_success, 'handler should succeed');
     is($res->content,'ok','handler-provided response should be used');
 };
 
 subtest 'request_prepare' => sub {
+    my $ua = ua;
     $ua->add_handler(
         request_prepare => sub {
             # the docs say this is the way to replace the request
@@ -42,4 +47,19 @@ subtest 'request_prepare' => sub {
        'the request should have been modified by the handler');
 };
 
+subtest 'response_redirect' => sub {
+    my $ua = ua;
+    $ua->add_handler(
+        response_redirect => sub {
+            return HTTP::Request->new(PUT => 'http://put.example.com');
+        }
+    );
+    my $res = $ua->get('http://www.example.com');
+    my $effective_request = $res->request;
+    is($effective_request->method,'PUT',
+       'the request should have been replaced by the handler');
+    is($effective_request->uri,'http://put.example.com',
+       'the request should have been replaced by the handler');
+};
+
 done_testing;
index a9426391beb0e2c5fda7d087f3197df36340c5e7..99e3cdf41563be43d861f20a11e6b4aa2d8d1d91 100644 (file)
@@ -448,7 +448,7 @@ sub _test {
 
 {
     package MyUA;
-    use base 'LWP::UserAgent';
+    use parent 'LWP::UserAgent';
     sub get_basic_credentials {
         my($self, $realm, $uri, $proxy) = @_;
         if ($realm eq "libwww-perl" && $uri->rel($base) eq "basic") {
@@ -459,7 +459,7 @@ sub _test {
 }
 {
     package MyUA4;
-    use base 'LWP::UserAgent';
+    use parent 'LWP::UserAgent';
     sub get_basic_credentials {
         my($self, $realm, $uri, $proxy) = @_;
         if ($realm eq "libwww-perl-utf8" && $uri->rel($base)->path eq "basic_utf8") {
@@ -470,7 +470,7 @@ sub _test {
 }
 {
     package MyUA2;
-    use base 'LWP::UserAgent';
+    use parent 'LWP::UserAgent';
     sub get_basic_credentials {
         my($self, $realm, $uri, $proxy) = @_;
         if ($realm eq "libwww-perl-digest" && $uri->rel($base) eq "digest") {
@@ -481,7 +481,7 @@ sub _test {
 }
 {
     package MyUA3;
-    use base 'LWP::UserAgent';
+    use parent 'LWP::UserAgent';
     sub get_basic_credentials {
         my($self, $realm, $uri, $proxy) = @_;
         return ("irrelevant", "xyzzy");
index 056f454d48ac31cdf6935833525d1b56411f3b82..19eb245b85692312883796f2487395dfed8ba9db 100644 (file)
@@ -23,7 +23,7 @@ exit;
 
 {
     package myhttp;
-    use base 'LWP::Protocol::http';
+    use parent 'LWP::Protocol::http';
 
     sub _conn_class {
         "myconn";
@@ -88,5 +88,6 @@ exit;
 }
 {
     package myhttp::Socket;
-    use base qw(myhttp::SocketMethods Net::HTTP);
+    use parent -norequire => qw(myhttp::SocketMethods);
+    use parent qw(Net::HTTP);
 }
index 0a0471ef304dbcfc0da7c7931d0dbb779cdb6878..c022049542536735aad2cbb16ac26e342ab87038 100644 (file)
@@ -30,7 +30,7 @@ exit;
 
 {
     package myhttp;
-    use base 'LWP::Protocol';
+    use parent 'LWP::Protocol';
     use Test::More;
 
     sub new {
index 7d43e1cd27ddbec2c8eeee14a112325ec42e61f8..1ae296eb33fe730a1af0c6f18338711c6caa2074 100644 (file)
@@ -10,7 +10,7 @@ plan tests => 9;
 
 {
     package MyUA;
-    use base 'LWP::UserAgent';
+    use parent 'LWP::UserAgent';
 
     my @try = (['foo', 'bar'], ['', ''], ['guest', ''], ['guest', 'guest']);
 
index ce5224e82ae9548d2578adfafcb109423c74519d..07efbea835c606264b1f9a51117e29943fd9a805 100644 (file)
@@ -9,7 +9,7 @@ use LWP::UserAgent;
 {
 
     package MyUA;
-    use base 'LWP::UserAgent';
+    use parent 'LWP::UserAgent';
 
     my @try = (['foo', 'bar'], ['', ''], ['guest', ''], ['guest', 'guest']);
 
index 9af829eae7fe8d95e50a5464e91d3bec844c787a..f0c8d462efc0aff3396c57e0d18d9e43131b2d8c 100644 (file)
@@ -8,7 +8,7 @@ if (($ENV{TRAVIS_PULL_REQUEST} || '') eq 'false') {
 
 note 'Checking Changes';
 my $changes_file = 'Changes';
-my $newver = '6.57';
+my $newver = '6.58';
 my $trial_token = '-TRIAL';
 my $encoding = 'UTF-8';