Skip to content

Commit adf8508

Browse files
sjohnstonsimbabque
authored andcommitted
fix typo in POD for put method
1 parent 0c76b91 commit adf8508

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/WWW/Mechanize.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -508,8 +508,8 @@ PUTs C<$content> to C<$uri>. Returns an L<HTTP::Response> object.
508508
C<$uri> can be a well-formed URI string, a L<URI> object, or a
509509
L<WWW::Mechanize::Link> object.
510510
511-
my $res = $mech->head( $uri );
512-
my $res = $mech->head( $uri , $field_name => $value, ... );
511+
my $res = $mech->put( $uri );
512+
my $res = $mech->put( $uri , $field_name => $value, ... );
513513
514514
=cut
515515

0 commit comments

Comments
 (0)