in reply to Using "die" with "do-file"

You can't go wrong by having the following towards the top of your scripts:
use strict; use warnings;