in reply to CGI::Carp Question

Add a line feed to your die() statement. For instance,

die "This is a bad error: $!\n";

That should get rid of the "at line ##".

Cheers!