> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 07, 2001 2: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?
Perhaps you want "warn" instead of "die". perldoc -f warn -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
