App::SimpleScan::Plugin::RetryApp::SimpleScan::Plugin::Retry is a Perl module to implement retry pragma/command line option. | |
Download |
App::SimpleScan::Plugin::Retry Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Joe McMahon
- Publisher web site:
- http://search.cpan.org/~mcmahon/Class-AutoPlug-0.02/lib/Class/AutoPlug/Pluggable.pm
App::SimpleScan::Plugin::Retry Tags
App::SimpleScan::Plugin::Retry Description
App::SimpleScan::Plugin::Retry is a Perl module to implement retry pragma/command line option. App::SimpleScan::Plugin::Retry is a Perl module to implement retry pragma/command line option.SYNOPSIS simple_scan --retry 6 or in a simple_scan input file: %%retry 6Both of these would retry fetches up to 6 times, pausing an increasingly-long time between each try. If all attempts fail, the failure reported with the last fetch is reflected back to the test program; if at any point the fetch succeeds, further retry attempts are abandoned.App::SimpleScan::Plugin::Retry allows simple_scan to use the retry function implemented by the WWW::Mechanize::Pluggable retry plugin.This allows you to retry a transaction multiple times; it checks $mech-success> to see if the transaction was successful.If you need more sophisticated retry testing, you're better off scripting this yourself using WWW::Mechanize::Pluggable and WWW::Mechanize::Plugin::Retry. One way is to use the %%retry pragma in input to simple_scan --gen to generate skeleton code, and then replace the call to retry to retry_if with the appropriate status check subroutine (see WWW::Mechanize::Pluggable::Retry for more details). Requirements: · Perl
App::SimpleScan::Plugin::Retry Related Software