Add \n to your string:
die "My error message\n"
This is documented in die:
If the last element of LIST does not
end in a newline, the current script
line number and input line number (if
any) are also printed, and a newline
is supplied.
Add \n to your string:
die "My error message\n"
This is documented in die:
If the last element of LIST does not
end in a newline, the current script
line number and input line number (if
any) are also printed, and a newline
is supplied.