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
index() confused by tie side effects #16312
Comments
From zefram@fysh.orgCreated by zefram@fysh.orgHere's an index() operation in which the fetching of the value of one $ perl -lwe 'package T { sub TIESCALAR { bless({}, The answer that this produces is quite surprising. If the search used What's going on is that pp_index first fetches a pointer to the $haystack The chop() in the test case is required to defeat COW. Without it, Perl Info
|
Migrated from rt.perl.org#132598 (status was 'new')
Searchable as RT132598$
The text was updated successfully, but these errors were encountered: