Just want to thank eveyone who responded. I have used a combination of all the resolutions. This was the first time I used this list and was surprised how fast and accurate I got a repsonse.
Thanks ----- Forwarded by Michael Mittentag/USA/DDS on 12/10/2001 08:52 AM ----- Daniel Gardner <daniel@danielga To: [EMAIL PROTECTED] rdner.org> cc: [EMAIL PROTECTED] Subject: Re: Using die but not break out of the script 12/07/2001 02:52 PM Please respond to Daniel Gardner Friday, December 07, 2001, 7:38:11 PM, [EMAIL PROTECTED] wrote: > Is there a way to use die but not break the entire script? > system ("dir $servervolume > dirinfo") || die "cant get dir info"; > I want it that if does die to assign a value of zero to a variable? Is > that posssible? how about: $var = system ("dir ..."); it'll be 0 on success, which isn't quite what you want, but probably just as useful. check perldoc -f system -- Best regards, Daniel -- If you do what you always do, you'll get what you always get -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]