Jens Rehsack > WWW-Mechanize-Script-0.100 > WWW::Mechanize::Script::Plugin::ContentSizeTest

Download:
WWW-Mechanize-Script-0.100.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.100   Source  

NAME ^

WWW::Mechanize::Script::Plugin::ContentSizeTest - check for size of received content

VERSION ^

version 0.100

METHODS ^

check_value_names()

Returns qw(min_bytes max_bytes)

check_response(\%check,$mech)

Proves whether min_bytes is greater than length of received content (and accumulate min_bytes_code into $code when true) or max_bytes is lower than length of received content (and accumulate max_bytes_code into $code when true).

Return the accumulated $code and appropriate constructed message, if any coparisation failed.

BUGS ^

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.

AUTHOR ^

Jens Rehsack <rehsack@cpan.org>

COPYRIGHT AND LICENSE ^

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.

syntax highlighting: