Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

dagolden (6584)

  (email not shown publicly)
AOL IM: xdaveg (Add Buddy, Send Message)

Journal of dagolden (6584)

Thursday July 05, 2007
10:12 PM

Sub::Uplevel learns to play nice

[ #33714 ]

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.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.