Hello Paul,
Tuesday, July 03, 2001, 7:49:01 PM, you wrote:
PC> On occasional runs, still getting the following multiple line alerts to
PC> STDERR when running the script:
PC> ---
PC> ---
PC> I think it's network-related. There is a problem with the ftp connection. If
PC> I wait a few minutes and run, it goes well.
PC> --------
As one of the possible variants:
while (1){
eval { .... your code here ....};
if (@$){ # if "eval" returns "error"
sleep ...... # waiting as much as you like.
next; # run the next iteration
} else {
last; # OK
}
}
May be that isn't a perfection, but it may to be of benefit for you.
--
Best regards,
x-dns mailto:[EMAIL PROTECTED]
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl