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
eval lexical inheritance nit #9848
Comments
From zefram@fysh.orgCreated by zefram@fysh.orgIn certain situations, the lexical environment immediately inside a $ perl -lwe '$^H{foo} = "zzz"; BEGIN { print $^H{foo}||q(undef) } eval q{ BEGIN { print $^H{foo}||q(undef) } }' Outside the eval, $^H{foo} is non-existent all through compilation. $ perl -lwe 'BEGIN { The behaviour is also correct if I set HINT_LOCALIZE_HH manually, which $ perl -lwe 'BEGIN { Perl Info
|
sgc294@internode.on.net - Status changed from 'new' to 'open' |
From @cpansproutOn Sun Aug 23 17:31:31 2009, zefram@fysh.org wrote:
Once again, I’ve discovered a bug by reading code, not realising there You may be pleased to know this was fixed by commit bc34412. -- Father Chrysostomos |
@cpansprout - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#68750 (status was 'resolved')
Searchable as RT68750$
The text was updated successfully, but these errors were encountered: