Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

djberg96 (2603)

djberg96
  (email not shown publicly)

Journal of djberg96 (2603)

Thursday September 18, 2003
04:02 PM

attempt.pm

[ #14774 ]
I see that Mark Fowler has released "Attempt" today. I've kinda been wanting something along the lines of Ruby's "retry" in Perl, and this looks like it might fit the bill nicely.

I specifically wanted it for failed DBI connections (for when the network goes flaky briefly, or a snapshot is occurring), which just happens to be the example he uses. Nice.

Update: Hah! I borked it with an evil $SIG{__DIE__} handler. >:)

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.