WWW::Mechanize::Script::Plugin::TextMatchTest - check for required/forbidden text in response
Returns qw(text_forbid text_require).
This method checks whether any line of text_forbid is found in received content (and accumulates text_forbid_code into $code when found) or any line of text_require missing in content (and accumulates text_forbid_code into $code when missing).
In case of an HTML response, the received content is rendered into plain text before searching for matches.
Return the accumulated $code and appropriate constructed message, if any match approval failed.
Please report any bugs or feature requests on the bugtracker website http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Mechanize-Script or by email to firstname.lastname@example.org.
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Jens Rehsack <email@example.com>
This software is copyright (c) 2012 by Jens Rehsack.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.