[Melbourne-pm] S3 modules

Toby Corkindale toby.corkindale at strategicdata.com.au
Thu May 2 23:02:37 PDT 2013


On 03/05/13 15:17, Mathew Robertson wrote:
>  > I guess I can just fork and rename and upload, as Sam suggests, but I
> don't really have any intention of taking on the workload of maintaining
> the module, so it seems irresponsible.
>
>
> That made me smirk... :)
>
>
> I demonstrated a "Retry" module one PM evening... which had semantics of:
>
> my $result = retry $times { .... } on_fail { .... } on_last_fail { .... };
>
>
> I chose to not upload said module, as there was already an "Attempt"
> module and I couldn't justify my code as being more useful.

Ah, sorry, I don't think I remembered seeing your demo at the time I 
wrote my Retry module.

>
> http://search.cpan.org/~markf/Attempt-1.01/lib/Attempt.pm
>
> But alas you did create a less useful module:
>
> http://search.cpan.org/~tjc/Retry-0.12/lib/Retry.pm

My module has exponential delays between retries and a different 
interface. Critically, it has a name that turns up in searches, unlike 
"Attempt" which sounds like yet another exception catching method.


More information about the Melbourne-pm mailing list