how about using a label? -----Original Message----- From: chad kellerman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 9:19 AM To: Perl beginners Subject: Don't know how to title this email.
Hello everyone, I am sure this is a newbie question but I have never had to do this in a script and I am not quite too sure if I can. Is there a way I can "mark" a part of a script so that, if I wrap an eval around a particular statement I can go back to that mark and retry it. I have to make quite a few ssh connections to various servers, I was wondering if I could put a mark before the ssh and if it dies have it go back to a point before the connection and retry in a a few seconds. I would rather not create a whole sub routine. Because I would have to create about 10 of them for evey different ssh connection since there is something different done on each connection. Thanks for the help. Chad -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]