in reply to traceback on error
Also, you can use Carp::Always. Start your script like this:
perl -MCarp::Always script.pl [download]