Blip Sid wrote:

> I wrote a script that basically does the following.
> 
> foreach variable in an array A{
>       foreach variable in array B {
>               Do something like issuing a system command and
> compare variable A to the output|| die
>               }
>       }
> 
> The problem is that if the Do something part fails,
> the script exits altogether without proceeding to the
> next array variable B and A.
> 
> How can I fix it?


Get rid of the die and use a warn or print instead if you don't
want to exit.


> I didn't think Next, Redo will help.
> 
> Any suggestions appreciated.



-- 
   ,-/-  __      _  _         $Bill Luebkert   ICQ=14439852
  (_/   /  )    // //       DBE Collectibles   Mailto:[EMAIL PROTECTED]
   / ) /--<  o // //      http://dbecoll.tripod.com/ (Free site for Perl)
-/-' /___/_<_</_</_     Castle of Medieval Myth & Magic http://www.todbe.com/

_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to