I've got a fairly complex DBI extraction that "normally" completes without any "use of uninit..." warnings. I'm capturing STDERR to an email as it runs off cron, and I'd like to send just a bit more data (from my program) along with the error message so that I can better determine whether the DB, the data or my program is where things are "misbehaving."
I've searched, but can't find a way to automagically trap short of some lengthy
segments, making the reading/reviewing of the "meat" of the program a bit annoying.
Suggestions?