Recently a very interesting post/patch was made to p5p that looks like it could meet your debugging requirements (and make Carp::Assert redundant). If it gets in it will be in version 5.10 however. :-(
--- demerphq
my friends call me, usually because I'm late....
Comment on Re: Re: How do I get a post mortem stack trace?