die is also a perl command that tells the program to exit immediately with the current errno. It takes a list as an argument and prints that list to STDERR on execution.

Inside of an eval, die sets $@ and exits the block.