in reply to Randomly working script using LWP::Simple
What you could do is to repeat the get process until you succeed. You will probably need to implement some sort of retry timeout or number of retries to limit your loop.$settingstext = get($settingsurl) or die "Can not fetch URL!";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Randomly working script using LWP::Simple
by diotalevi (Canon) on Nov 28, 2003 at 16:31 UTC |