Subject: | 1.10 documentation consistency tweaks |
--- Test-WWW-Mechanize-1.10/Mechanize.pm 2006-06-18
23:00:50.000000000 -0500
+++ new-Test-WWW-Mechanize-1.10/Mechanize.pm 2006-06-20
11:18:25.000000000 -0500
@@ -364,7 +364,7 @@
return $ok;
}
-=head2 $mech->page_links_content_like( $regex,[ $desc ] )
+=head2 $mech->page_links_content_like( $regex [, $desc ] )
Follow all links on the current page and test their contents for I<$regex>.
@@ -397,7 +397,7 @@
return $ok;
}
-=head2 $mech->page_links_content_unlike( $regex,[ $desc ] )
+=head2 $mech->page_links_content_unlike( $regex [, $desc ] )
Follow all links on the current page and test their contents do not
contain the specified regex.
@@ -671,7 +671,7 @@
return @urls;
}
-=head2 follow_link_ok( \%parms [, $comment] )
+=head2 $mech->follow_link_ok( \%parms [, $comment] )
Makes a C<follow_link()> call and executes tests on the results.
The link must be found, and then followed successfully. Otherwise,
@@ -681,7 +681,7 @@
Note that the parms to C<follow_link()> are a hash whereas the parms to
this function are a hashref. You have to call this function like:
- $agent->follow_link_ok( {n=>3}, "looking for 3rd link" );
+ $mech->follow_link_ok( {n=>3}, "looking for 3rd link" );
As with other test functions, C<$comment> is optional. If it is supplied
then it will display when running the test harness in verbose mode.
@@ -718,7 +718,7 @@
return $ok;
}
-=head2 $agent->stuff_inputs( [\%options] )
+=head2 $mech->stuff_inputs( [\%options] )
Finds all free-text input fields (text, textarea, and password) in the
current form and fills them to their maximum length in hopes of finding
@@ -912,7 +912,7 @@
=head1 COPYRIGHT & LICENSE
-Copyright 2004-2005 Andy Lester, all rights reserved.
+Copyright 2004-2006 Andy Lester, all rights reserved.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.