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
$a is "Inner" in both places. If I understand how our() works, its
supposed to have the same scoping rules as my(). I would expect
"Inner" and then "Outer", same as my().
Next, our() doesn't appear to localize in a loop conditional:
Your bug report was labouring under the mis-apprehension that 'our'
localises stuff. Since it doesn't, its not-a-bug!
The
for our $x (...)
appeared to localise only because for itself localises, ie
for $x (...)
works just as well.
Migrated from rt.perl.org#2021 (status was 'resolved')
Searchable as RT2021$
The text was updated successfully, but these errors were encountered: