On Sep 8, nafiseh saberi said:

>what is the difference between  die and exit??

die() takes an error message and prints it to STDERR, and exit()s with a
failure (non-zero value).  exit() takes a numeric value and sets that as
the success (zero) or failure (non-zero) value of your program.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to