WWW::Mechanize::Script::Plugin::TextMatchTest - check for required/forbidden text in response
version 0.101
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 bug-www-mechanize-script@rt.cpan.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 <rehsack@cpan.org>
This software is copyright (c) 2014 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.
To install WWW::Mechanize::Script, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Mechanize::Script
CPAN shell
perl -MCPAN -e shell install WWW::Mechanize::Script
For more information on module installation, please visit the detailed CPAN module installation guide.