You could use:
system ("dir $servervolume > dirinfo") || ($var = 0);
Daryl J. Hoyt
Performance Engineer
Geodesic Systems
312-832-2010
<http://www.geodesic.com>
<mailto:[EMAIL PROTECTED]>
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Friday, December 07, 2001 1:38 PM
To: [EMAIL PROTECTED]
Subject: Using die but not break out of the script
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?
Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]