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
pos $test as lvalue if test has 8-bit chars #366
Comments
From goevert@amaunet.cs.uni-dortmund.de% perl -de 1 Loading DB routines from perl5db.pl version 1.0402 Enter h or `h h' for help. main::(-e:1): 1 DB<2> pos $test = 1 DB<3> x pos $test Perl Info
|
From [Unknown Contact. See original ticket]Norbert Goevert writes:
Confirmed. Just to make it more reproducible: DB<1> O H Ilya |
From @jhiIlya Zakharevich writes:
Confirmed also here. The pos seems to become the length of the string, $ perl -le '$s="abcd\377efgh\377";pos $s = 4;print pos $s' Note also that what seems to trigger the bug is to try to pos() -- |
Migrated from rt.perl.org#1200 (status was 'resolved')
Searchable as RT1200$
The text was updated successfully, but these errors were encountered: