I've just released Sub::Uplevel 0.15_01. It includes Schwern's patch to localize the CORE::GLOBAL::caller
override to just the uplevel
call as well as my own additions to work with any existing caller
override from within the uplevel
call.
This should help it play nice with things like Contextual::Return or Hook::LexWrap that also play games with CORE::GLOBAL::caller
.
In particular, since Test::Exception uses Sub::Uplevel, it should be safe to use Test::Exception with code that happens to use one of those other modules.
If you are in that situation, please give it a try and let me know how it works for you.