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
s/foo//e evaluating empty replacement string #6682
Comments
From DanVDascalescu@yahoo.comCreated by DanVDascalescu@yahoo.com#! perl -w $replacement=''; $_='foo'; s/foo//e; # BUG: $_ remains 'foo' My apologies if this has already been reported. Hope this helps, -- Perl Info
|
@rgs - Status changed from 'new' to 'resolved' |
From @andk
> #! perl -w > $replacement=''; > $_='foo'; s/foo//e; # BUG: $_ remains 'foo' > My apologies if this has already been reported. Even better, it has been fixed (in patch 18118). The fix will also be But thanks for the testcase anyway, it's highly appreciated! |
@rgs - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#23227 (status was 'resolved')
Searchable as RT23227$
The text was updated successfully, but these errors were encountered: