die "...\n";
die "The --db-name option is required" unless $opt{db_name};
- Throws an exception, if not caught ...
- Prints message to STDERR
- Appends filename and line number
- Terminates program immediately
- Sets exit status to a non-zero value
die "The --db-name option is required" unless $opt{db_name};