-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FAQ 7.12: What's a closure? #826
Comments
From ilya@math.ohio-state.edu
This cannot be done. But I Cc perlbug: Here is what *can* be done. When evalling, internal (sub {}) scope POSSIBLE ENHANCEMENT: given that the lexical was found inside eval '', Access to stale lexical of enclosing scope from eval '' [Variant: additionally to testing that test1 is not active, test that Ilya |
From @gbarrThis is still present in 5.8.0 |
From @iabyn(Just reviewing old Perl bug reports) The current development version of Perl (which will eventually be to emit the run-time warning: Variable "$foo" is not available at (eval 1) line 2. since at the time of the eval, the lexical $foo is not active. (This warning is the equivalent of the 'stale' warning that Ilya I am therefore making this report a resolved. Regards, Dave M. |
@iabyn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#1754 (status was 'resolved')
Searchable as RT1754$
The text was updated successfully, but these errors were encountered: