<Ara.T.Howard / noaa.gov> schrieb im Newsbeitrag
news:Pine.LNX.4.60.0408241308420.16964 / harp.ngdc.noaa.gov...
> On Tue, 24 Aug 2004, Robert Klemme wrote:
>
> > Note also, that because of the recursion backtraces will never compare
> > equal.
>
> right you are (and above) - i took your code.
>
> > Ah, I see.  Why don't you just use a general retry as in:
> >
> > def exec_retry(tries = 3)
> >  begin
> >    yield
> >  rescue Exception
> >    tries -= 1
> >    raise if tries == 0
> >    retry
> >  end
> > end
>
>
> it's long and terrible,  here's a snippet from my post to the nfs list,
it's
> what i'm implementing:

<snip>quote</snip>

Uuuh!  That sounds ugly!  I don't envy you.

Kind regards

    robert