summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlaf Alders <olaf@wundersolutions.com>2021-08-06 08:34:16 -0400
committerOlaf Alders <olaf@wundersolutions.com>2021-08-06 08:34:16 -0400
commitf638535bb3e2dfaf8d392e28d2cb5f60beb522e9 (patch)
tree5a84bacb2128033133ec65dd77d40f84350a6989
parent80e74c56d0921db2846476259aaa2feda8c73df0 (diff)
v2.04
[ENHANCEMENTS] - Add a head() method to allow relative URLs (GH#321) (Julien Fiegehenn) [DOCUMENTATION] - Document that form_id() accepts an id, not a name (GH#319) (Olaf Alders)
-rw-r--r--Changes2
-rw-r--r--LICENSE12
-rw-r--r--META.json153
-rw-r--r--Makefile.PL4
-rw-r--r--README.md28
-rw-r--r--cpanfile5
6 files changed, 113 insertions, 91 deletions
diff --git a/Changes b/Changes
index 1b8468c..069e8c5 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,6 @@
Revision history for WWW::Mechanize
-{{$NEXT}}
+2.04 2021-08-06 12:28:31Z
[ENHANCEMENTS]
- Add a head() method to allow relative URLs (GH#321) (Julien Fiegehenn)
diff --git a/LICENSE b/LICENSE
index e7e79fe..5bfa02f 100644
--- 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
diff --git a/META.json b/META.json
index 1f23e62..4f4e90a 100644
--- a/META.json
+++ b/META.json
@@ -4,7 +4,7 @@
"Andy Lester <andy at petdance.com>"
],
"dynamic_config" : 0,
- "generated_by" : "Dist::Zilla version 6.015, CPAN::Meta::Converter version 2.150010",
+ "generated_by" : "Dist::Zilla version 6.024, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
@@ -38,7 +38,6 @@
"Code::TidyAll::Plugin::SortLines::Naturally" : "0.000003",
"Code::TidyAll::Plugin::Test::Vars" : "0.04",
"Code::TidyAll::Plugin::UniqueLines" : "0.000003",
- "Encode" : "0",
"LWP::Protocol::https" : "6.07",
"Parallel::ForkManager" : "1.19",
"Perl::Critic" : "1.132",
@@ -60,6 +59,9 @@
}
},
"runtime" : {
+ "recommends" : {
+ "Compress::Zlib" : "0"
+ },
"requires" : {
"Carp" : "0",
"Getopt::Long" : "0",
@@ -107,6 +109,7 @@
"Test::NoWarnings" : "1.04",
"Test::Output" : "0",
"Test::Taint" : "1.08",
+ "Test::Warn" : "0",
"Test::Warnings" : "0",
"URI" : "0",
"URI::Escape" : "0",
@@ -118,15 +121,15 @@
"provides" : {
"WWW::Mechanize" : {
"file" : "lib/WWW/Mechanize.pm",
- "version" : "2.03"
+ "version" : "2.04"
},
"WWW::Mechanize::Image" : {
"file" : "lib/WWW/Mechanize/Image.pm",
- "version" : "2.03"
+ "version" : "2.04"
},
"WWW::Mechanize::Link" : {
"file" : "lib/WWW/Mechanize/Link.pm",
- "version" : "2.03"
+ "version" : "2.04"
}
},
"release_status" : "stable",
@@ -141,7 +144,7 @@
"web" : "https://github.com/libwww-perl/WWW-Mechanize"
}
},
- "version" : "2.03",
+ "version" : "2.04",
"x_Dist_Zilla" : {
"perl" : {
"version" : "5.030002"
@@ -182,12 +185,12 @@
{
"class" : "Dist::Zilla::Plugin::OALDERS::TidyAll",
"name" : "@Author::OALDERS/OALDERS::TidyAll",
- "version" : "0.000028"
+ "version" : "0.000029"
},
{
"class" : "Dist::Zilla::Plugin::AutoPrereqs",
"name" : "@Author::OALDERS/AutoPrereqs",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::MakeMaker",
@@ -197,12 +200,12 @@
}
},
"name" : "@Author::OALDERS/MakeMaker",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::CPANFile",
"name" : "@Author::OALDERS/CPANFile",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::ContributorsFile",
@@ -212,48 +215,48 @@
{
"class" : "Dist::Zilla::Plugin::MetaJSON",
"name" : "@Author::OALDERS/MetaJSON",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::MetaYAML",
"name" : "@Author::OALDERS/MetaYAML",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::Manifest",
"name" : "@Author::OALDERS/Manifest",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::MetaNoIndex",
"name" : "@Author::OALDERS/MetaNoIndex",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::MetaConfig",
"name" : "@Author::OALDERS/MetaConfig",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::MetaResources",
"name" : "@Author::OALDERS/MetaResources",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::License",
"name" : "@Author::OALDERS/License",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::InstallGuide",
"config" : {
"Dist::Zilla::Role::ModuleMetadata" : {
- "Module::Metadata" : "1.000037",
+ "Module::Metadata" : "1.000036",
"version" : "0.006"
}
},
"name" : "@Author::OALDERS/InstallGuide",
- "version" : "1.200013"
+ "version" : "1.200014"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -264,12 +267,12 @@
}
},
"name" : "@Author::OALDERS/Modules for use with tidyall",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "@Author::OALDERS/ExecDir",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::MojibakeTests",
@@ -279,7 +282,7 @@
{
"class" : "Dist::Zilla::Plugin::PodSyntaxTests",
"name" : "@Author::OALDERS/PodSyntaxTests",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::Test::EOL",
@@ -315,7 +318,7 @@
{
"class" : "Dist::Zilla::Plugin::TestRelease",
"name" : "@Author::OALDERS/TestRelease",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::Test::ReportPrereqs",
@@ -435,12 +438,12 @@
}
},
"name" : "@Author::OALDERS/PodWeaver",
- "version" : "4.008"
+ "version" : "4.009"
},
{
"class" : "Dist::Zilla::Plugin::PruneCruft",
"name" : "@Author::OALDERS/PruneCruft",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::CopyFilesFromBuild",
@@ -476,7 +479,7 @@
}
},
"name" : "@Author::OALDERS/Git::GatherDir",
- "version" : "2.047"
+ "version" : "2.048"
},
{
"class" : "Dist::Zilla::Plugin::CopyFilesFromRelease",
@@ -512,18 +515,18 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.29.1",
+ "git_version" : "2.32.0",
"repo_root" : "."
}
},
"name" : "@Author::OALDERS/Git::Check",
- "version" : "2.047"
+ "version" : "2.048"
},
{
"class" : "Dist::Zilla::Plugin::Git::Contributors",
"config" : {
"Dist::Zilla::Plugin::Git::Contributors" : {
- "git_version" : "2.29.1",
+ "git_version" : "2.32.0",
"include_authors" : 0,
"include_releaser" : 1,
"order_by" : "name",
@@ -531,7 +534,7 @@
}
},
"name" : "@Author::OALDERS/Git::Contributors",
- "version" : "0.035"
+ "version" : "0.036"
},
{
"class" : "Dist::Zilla::Plugin::ReadmeAnyFromPod",
@@ -557,12 +560,7 @@
{
"class" : "Dist::Zilla::Plugin::ShareDir",
"name" : "@Author::OALDERS/ShareDir",
- "version" : "6.015"
- },
- {
- "class" : "Dist::Zilla::Plugin::TravisCI::StatusBadge",
- "name" : "@Author::OALDERS/TravisCI::StatusBadge",
- "version" : "0.009"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::CheckIssues",
@@ -572,12 +570,12 @@
{
"class" : "Dist::Zilla::Plugin::ConfirmRelease",
"name" : "@Author::OALDERS/ConfirmRelease",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::UploadToCPAN",
"name" : "@Author::OALDERS/UploadToCPAN",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -588,7 +586,7 @@
}
},
"name" : "@Author::OALDERS/@Git::VersionManager/pluginbundle version",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::RewriteVersion::Transitional",
@@ -648,7 +646,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.29.1",
+ "git_version" : "2.32.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -656,7 +654,7 @@
}
},
"name" : "@Author::OALDERS/@Git::VersionManager/release snapshot",
- "version" : "2.047"
+ "version" : "2.048"
},
{
"class" : "Dist::Zilla::Plugin::Git::Tag",
@@ -665,12 +663,12 @@
"branch" : null,
"changelog" : "Changes",
"signed" : 0,
- "tag" : "v2.03",
+ "tag" : "v2.04",
"tag_format" : "v%V",
"tag_message" : "v%V"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.29.1",
+ "git_version" : "2.32.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -678,7 +676,7 @@
}
},
"name" : "@Author::OALDERS/@Git::VersionManager/Git::Tag",
- "version" : "2.047"
+ "version" : "2.048"
},
{
"class" : "Dist::Zilla::Plugin::BumpVersionAfterRelease::Transitional",
@@ -699,7 +697,7 @@
{
"class" : "Dist::Zilla::Plugin::NextRelease",
"name" : "@Author::OALDERS/@Git::VersionManager/NextRelease",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::Git::Commit",
@@ -721,7 +719,7 @@
"changelog" : "Changes"
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.29.1",
+ "git_version" : "2.32.0",
"repo_root" : "."
},
"Dist::Zilla::Role::Git::StringFormatter" : {
@@ -729,7 +727,7 @@
}
},
"name" : "@Author::OALDERS/@Git::VersionManager/post-release commit",
- "version" : "2.047"
+ "version" : "2.048"
},
{
"class" : "Dist::Zilla::Plugin::Git::Push",
@@ -741,17 +739,17 @@
"remotes_must_exist" : 1
},
"Dist::Zilla::Role::Git::Repo" : {
- "git_version" : "2.29.1",
+ "git_version" : "2.32.0",
"repo_root" : "."
}
},
"name" : "@Author::OALDERS/Git::Push",
- "version" : "2.047"
+ "version" : "2.048"
},
{
"class" : "Dist::Zilla::Plugin::ExecDir",
"name" : "ExecDir",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::RunExtraTests",
@@ -772,7 +770,7 @@
}
},
"name" : "RuntimeRequires",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -783,7 +781,7 @@
}
},
"name" : "TestRequires",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::Prereqs",
@@ -794,7 +792,22 @@
}
},
"name" : "DevelopRequires",
- "version" : "6.015"
+ "version" : "6.024"
+ },
+ {
+ "class" : "Dist::Zilla::Plugin::Prereqs::Soften",
+ "config" : {
+ "Dist::Zilla::Plugin::Prereqs::Soften" : {
+ "copy_to" : [],
+ "modules" : [
+ "Compress::Zlib"
+ ],
+ "modules_from_features" : null,
+ "to_relationship" : "recommends"
+ }
+ },
+ "name" : "Prereqs::Soften",
+ "version" : "0.006003"
},
{
"class" : "Dist::Zilla::Plugin::MetaProvides::Package",
@@ -804,7 +817,7 @@
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM",
- "version" : "6.015"
+ "version" : "6.024"
}
],
"include_underscores" : 0
@@ -816,7 +829,7 @@
"meta_noindex" : 1
},
"Dist::Zilla::Role::ModuleMetadata" : {
- "Module::Metadata" : "1.000037",
+ "Module::Metadata" : "1.000036",
"version" : "0.006"
}
},
@@ -826,57 +839,57 @@
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":InstallModules",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":IncModules",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":TestFiles",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExtraTestFiles",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ExecFiles",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":PerlExecFiles",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":ShareFiles",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":MainModule",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":AllFiles",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : ":NoFiles",
- "version" : "6.015"
+ "version" : "6.024"
},
{
"class" : "Dist::Zilla::Plugin::FinderCode",
"name" : "MetaProvides::Package/AUTOVIV/:InstallModulesPM",
- "version" : "6.015"
+ "version" : "6.024"
}
],
"zilla" : {
@@ -884,7 +897,7 @@
"config" : {
"is_trial" : 0
},
- "version" : "6.015"
+ "version" : "6.024"
}
},
"x_contributors" : [
@@ -904,7 +917,7 @@
"Flavio Poletti <flavio@polettix.it>",
"Florian Schlichting <fsfs@debian.org>",
"Gabor Szabo <szabgab@gmail.com>",
- "Gareth Tunley <gjtunley@gmail.com>",
+ "gjtunley@gmail.com <gjtunley@gmail.com>",
"gregor herrmann <gregoa@debian.org>",
"Grigor Karavardanyan <k.grigor@yahoo.com>",
"James Raspass <jraspass@gmail.com>",
@@ -912,7 +925,6 @@
"Jesse Vincent <jesse@bestpractical.com>",
"John Beppu <john.beppu@gmail.com>",
"Jozef Kutej <jozef@kutej.net>",
- "Julien Fiegehenn <simbabque@cpan.org>",
"Karen Etheridge <ether@cpan.org>",
"Kirrily 'Skud' Robert <skud@infotrope.net>",
"Kivanc Yazan <kivancyazan@gmail.com>",
@@ -931,6 +943,7 @@
"Schuyler Langdon <schuyler@velargo.com>",
"Sergey Romanov <sromanov-dev@yandex.ru>",
"Shoichi Kaji <skaji@cpan.org>",
+ "simbabque <simbabque@cpan.org>",
"Steve Scaffidi <stephen@scaffidi.net>",
"Stuart Johnston <saj_git@thecommune.net>",
"sunnavy <sunnavy@bestpractical.com>",
@@ -940,7 +953,7 @@
"\u7a4d\u4e39\u5c3c Dan Jacobson <jidanni@jidanni.org>"
],
"x_generated_by_perl" : "v5.30.2",
- "x_serialization_backend" : "Cpanel::JSON::XS version 4.19",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.26",
"x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later",
"x_static_install" : 1
}
diff --git a/Makefile.PL b/Makefile.PL
index 26aa6f6..2015537 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.015.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.024.
use strict;
use warnings;
@@ -60,6 +60,7 @@ my %WriteMakefileArgs = (
"Test::NoWarnings" => "1.04",
"Test::Output" => 0,
"Test::Taint" => "1.08",
+ "Test::Warn" => 0,
"Test::Warnings" => 0,
"URI" => 0,
"URI::Escape" => 0,
@@ -106,6 +107,7 @@ my %FallbackPrereqs = (
"Test::NoWarnings" => "1.04",
"Test::Output" => 0,
"Test::Taint" => "1.08",
+ "Test::Warn" => 0,
"Test::Warnings" => 0,
"Tie::RefHash" => 0,
"URI" => 0,
diff --git a/README.md b/README.md
index 5258dc0..a5042d0 100644
--- a/README.md
+++ b/README.md
@@ -2,11 +2,9 @@
WWW::Mechanize - Handy web browsing in a Perl object
-[![Build Status](https://travis-ci.org/libwww-perl/WWW-Mechanize.png?branch=master)](https://travis-ci.org/libwww-perl/WWW-Mechanize)
-
# VERSION
-version 2.03
+version 2.04
# SYNOPSIS
@@ -284,10 +282,10 @@ internals is deprecated and subject to change in the future.
`get()` is a well-behaved overloaded version of the method in
[LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent). This lets you do things like
- $mech->get( $uri, ':content_file' => $tempfile );
+ $mech->get( $uri, ':content_file' => $filename );
and you can rest assured that the params will get filtered down
-appropriately.
+appropriately. See ["get" in LWP::UserAgent](https://metacpan.org/pod/LWP%3A%3AUserAgent#get) for more details.
**NOTE:** Because `:content_file` causes the page contents to be
stored in a file instead of the response object, some Mech functions
@@ -295,13 +293,22 @@ that expect it to be there won't work as expected. Use with caution.
## $mech->post( $uri, content => $content )
-POSTs _$content_ to $uri. Returns an [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) object.
+POSTs _$content_ to _$uri_. Returns an [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) object.
_$uri_ can be a well-formed URI string, a [URI](https://metacpan.org/pod/URI) object, or a
[WWW::Mechanize::Link](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ALink) object.
## $mech->put( $uri, content => $content )
-PUTs _$content_ to $uri. Returns an [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) object.
+PUTs _$content_ to _$uri_. Returns an [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) object.
+_$uri_ can be a well-formed URI string, a [URI](https://metacpan.org/pod/URI) object, or a
+[WWW::Mechanize::Link](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ALink) object.
+
+ my $res = $mech->head( $uri );
+ my $res = $mech->head( $uri , $field_name => $value, ... );
+
+## $mech->head ($uri )
+
+Performs a HEAD request to _$uri_. Returns an [HTTP::Response](https://metacpan.org/pod/HTTP%3A%3AResponse) object.
_$uri_ can be a well-formed URI string, a [URI](https://metacpan.org/pod/URI) object, or a
[WWW::Mechanize::Link](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ALink) object.
@@ -477,7 +484,7 @@ repeatedly.
## $mech->links()
Lists all the links on the current page. Each link is a
-WWW::Mechanize::Link object. In list context, returns a list of all
+[WWW::Mechanize::Link](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ALink) object. In list context, returns a list of all
links. In scalar context, returns an array reference of all links.
## $mech->follow\_link(...)
@@ -665,7 +672,7 @@ ignoring other types of input controls like text and checkboxes.
## $mech->images
Lists all the images on the current page. Each image is a
-WWW::Mechanize::Image object. In list context, returns a list of all
+[WWW::Mechanize::Image](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3AImage) object. In list context, returns a list of all
images. In scalar context, returns an array reference of all images.
## $mech->find\_image()
@@ -819,7 +826,7 @@ set internally for later use with Mech's form methods such as
Returns undef if no form is found.
-## $mech->form\_id( $name )
+## $mech->form\_id( $id )
Selects a form by ID. If there is more than one form on the page
with that ID, then the first one is used, and a warning is generated.
@@ -1610,7 +1617,6 @@ Here are modules that use or subclass Mechanize. Let me know of any others:
Just like Mech, but using Microsoft Internet Explorer to do the work.
- [WWW::Bugzilla](https://metacpan.org/pod/WWW%3A%3ABugzilla)
-- [WWW::CheckSite](https://metacpan.org/pod/WWW%3A%3ACheckSite)
- [WWW::Google::Groups](https://metacpan.org/pod/WWW%3A%3AGoogle%3A%3AGroups)
- [WWW::Hotmail](https://metacpan.org/pod/WWW%3A%3AHotmail)
- [WWW::Mechanize::Cached](https://metacpan.org/pod/WWW%3A%3AMechanize%3A%3ACached)
diff --git a/cpanfile b/cpanfile
index 567341b..390f9f0 100644
--- a/cpanfile
+++ b/cpanfile
@@ -1,4 +1,4 @@
-# This file is generated by Dist::Zilla::Plugin::CPANFile v6.015
+# This file is generated by Dist::Zilla::Plugin::CPANFile v6.024
# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.
requires "Carp" => "0";
@@ -20,6 +20,7 @@ requires "base" => "0";
requires "perl" => "5.006";
requires "strict" => "0";
requires "warnings" => "0";
+recommends "Compress::Zlib" => "0";
on 'test' => sub {
requires "CGI" => "4.32";
@@ -42,6 +43,7 @@ on 'test' => sub {
requires "Test::NoWarnings" => "1.04";
requires "Test::Output" => "0";
requires "Test::Taint" => "1.08";
+ requires "Test::Warn" => "0";
requires "Test::Warnings" => "0";
requires "URI" => "0";
requires "URI::Escape" => "0";
@@ -66,7 +68,6 @@ on 'develop' => sub {
requires "Code::TidyAll::Plugin::SortLines::Naturally" => "0.000003";
requires "Code::TidyAll::Plugin::Test::Vars" => "0.04";
requires "Code::TidyAll::Plugin::UniqueLines" => "0.000003";
- requires "Encode" => "0";
requires "LWP::Protocol::https" => "6.07";
requires "Parallel::ForkManager" => "1.19";
requires "Perl::Critic" => "1.132";