You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eval '$x'; say $!.perl
Scope not found for PAST::Var '$x'
Instead of storing the error in $!, the eval itself dies.
eval() should never through an exception (ie catch all excpetions
inside), and perhaps fail() on error, which only raises an exception if
'use fatal;' is in scope.
This affects some scoping tests in the test suite, notably in
t/spec/S04-declarations/my.t and t/builtins/my.t (not yet in spec/, but
I'm working on it).
Migrated from rt.perl.org#56692 (status was 'resolved')
Searchable as RT56692$
The text was updated successfully, but these errors were encountered: