Perl: die()
die()
The die() function allows you to exit your program and print an error message
It is usually used when a condition fails
die() is usually passed a message string
If the string does not end with "\n" then the current script filename and line number are appended to the message