summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorgregor herrmann <gregoa@debian.org>2019-10-05 03:46:45 +0200
committergregor herrmann <gregoa@debian.org>2019-10-05 03:46:45 +0200
commitdc04d0675a561ff9094fbec90d6aacb105018873 (patch)
treef531d5cd4841dc7eeac8d3f647420f996b8eea39 /README.md
parent8ae94e13a8836f429285ea53df366478eec8a0ec (diff)
parentef9ee2812417142267d89d334f0e9bb6be907646 (diff)
New upstream version 1.93
Diffstat (limited to 'README.md')
-rw-r--r--README.md22
1 files changed, 14 insertions, 8 deletions
diff --git a/README.md b/README.md
index def035e..df91976 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ WWW::Mechanize - Handy web browsing in a Perl object
# VERSION
-version 1.91
+version 1.93
# SYNOPSIS
@@ -210,7 +210,7 @@ strict and verbose mode for form handling, which is done with [HTML::Form](https
Globally sets the HTML::Form strict flag which causes form submission to
croak if any of the passed fields don't exist in the form, and/or a value
doesn't exist in a select element. This can still be disabled in individual
- calls to [`submit_form()|"$mech->submit_form( ... )"`](https://metacpan.org/pod/submit_form\(\)|&#x22;$mech->submit_form\(&#x20;...&#x20;\)&#x22;).
+ calls to `[submit_form()](#mech-submit_form)`.
Default is off.
@@ -489,9 +489,11 @@ Here some examples:
$mech->follow_link( url => 'http://example.com/page' );
-Returns the result of the GET method (an HTTP::Response object) if
-a link was found. If the page has no links, or the specified link
-couldn't be found, returns undef.
+Returns the result of the `GET` method (an [HTTP::Response](https://metacpan.org/pod/HTTP::Response) object) if a link
+was found.
+
+If the page has no links, or the specified link couldn't be found, returns
+`undef`. If `autocheck` is enabled an exception will be thrown instead.
## $mech->find\_link( ... )
@@ -1040,7 +1042,8 @@ are a list of key/value pairs, all of which are optional.
fields mentioned in `\%fields`. This is nice because you don't need to know
the name or number of the form to do this.
- (calls `["form_with_fields()"](#form_with_fields)` and `["set_fields()"](#set_fields)`).
+ (calls `[form_with_fields()](#mech-form_with_fields-fields)` and
+ `[set_fields()](#mech-set_fields-name-value)`).
If you choose `with_fields`, the `fields` option will be ignored. The
`form_number`, `form_name` and `form_id` options will still be used. An
@@ -1061,7 +1064,7 @@ are a list of key/value pairs, all of which are optional.
- `form_id => ID`
Selects the form with ID _ID_ (calls
- `[form_id()](#mech-form_id-name)`)>>)
+ `[form_id()](#mech-form_id-name)`)
- `button => button`
@@ -1083,7 +1086,7 @@ are a list of key/value pairs, all of which are optional.
If no form is selected, the first form found is used.
-If _button_ is not passed, then the [`submit()|"$mech->submit()"`](https://metacpan.org/pod/submit\(\)|&#x22;$mech->submit\(\)&#x22;)
+If _button_ is not passed, then the `[submit()](#mech-submit)`
method is used instead.
If you want to submit a file and get its content from a scalar rather
@@ -1207,6 +1210,9 @@ is not specified or is undef, it dumps to STDOUT.
If _$absolute_ is true, links displayed are absolute, not relative.
+The output will include empty lines for images that have no `src` attribute
+and therefore no `<-`url>>.
+
## $mech->dump\_forms( \[$fh\] )
Prints a dump of the forms on the current page to _$fh_. If _$fh_