One Subtlety with die (and warn) 

die "Can't open log file";
Can't open log file at ./report.pl line 68.
die "Can't open log file\n";
Can't open log file