Before I discovered this module, I would play silly games with â€œlocal $Carp::CarpLevel = $Carp::CarpLevel + 1â€ sprinkled all over the place. Not only was that annoying, it also hatefully causes Carp to emit verbose messages. Now I just use Carp::Clan and things work as I meant them to.
Of course, thatâ€™s not the moduleâ€™s only use â€“ but that alone makes the module worthwhile to use everywhere, even if you donâ€™t have a â€œclanâ€ of modules.
My only question is: why is this not part of the core? Why indeed doesnâ€™t Carp itself work that way?