# Add this near the top of your script. # The idea is to load it before the error happens require Carp::Heavy;