Skip to content

Check "in eval?" variable instead of walking the call stack - #4

Closed
karenetheridge wants to merge 1 commit into
mozilla:masterfrom
karenetheridge:patch-1
Closed

Check "in eval?" variable instead of walking the call stack#4
karenetheridge wants to merge 1 commit into
mozilla:masterfrom
karenetheridge:patch-1

Conversation

@karenetheridge

Copy link
Copy Markdown

The issue queue is closed in this repository, or I would have simply filed an issue.. apologies if you have a queue somewhere else. But see perldoc perlvar -- you can just check $^S to see if you're in an eval, rather than walking the call stack.

The issue queue is closed in this repository, or I would have simply filed an issue.. apologies if you have a queue somewhere else. But see `perldoc perlvar` -- you can just check `$^S` to see if you're in an eval, rather than walking the call stack.
@globau

globau commented Jan 15, 2016

Copy link
Copy Markdown
Collaborator

Thanks for the contribution, but this is a read-only mirror of git.mozilla.org/webtools/bmo/bugzilla. Please open a bug and attach a review as per standard process. https://wiki.mozilla.org/Bugzilla:Submitting_Patches

Sorry for the inconvenience!

@globau

globau commented Jan 15, 2016

Copy link
Copy Markdown
Collaborator

$^S won't work here because it's always true when running under mod_perl.

@globau globau closed this Jan 15, 2016
@karenetheridge

Copy link
Copy Markdown
Author

bummer, oh well!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants