Answered Questions

  • What is the difference between die and exit in perl?

    george

    • Oct 11th, 2013

    Die will print a message to the std err, then exit with a non-zero return code. You dont control the return code and you are stuck with the text going to the std err. Exit will terminate with a speci...

    vinod

    • Jun 20th, 2013

    Exit will simply end the program but die will print the message before ending the program