Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

no Sub::Uplevel #2

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

tobyink commented Apr 16, 2012

This feature restores the built-in caller() function. It needs to be used with care, but can speed up code that uses Sub::Uplevel early on but doesn't need it later.

@ghost

ghost commented Apr 16, 2012

Thanks for taking a cut at writing this. My first reaction is that I think it's brittle. Sub::Uplevel is already something that is pretty crazy and this makes it even crazier. I'd rather see an XS implementation of the "normal" caller override instead to regain the speed when upleveling isn't in effect.

@ghost

ghost commented Mar 27, 2013

As I said, I think trying to reverse a global override is not a great idea. I'm going to close this request.

@ghost ghost closed this Mar 27, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment