-
Notifications
You must be signed in to change notification settings - Fork 555
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
Passing qr/\s+/ into a subroutine as a delimiter for split seems to cause a subsequent call to that function to fail in v5.6.1 #7391
Comments
From joseph.reel@citigroup.comIn Perl 5.6.1 the following script #!/opt/mr/perl/bin/perl -w my @c = test ("dealloans dat", qr/\s{1,256}/); sub test { results in output dealloans dat as expected, but replacing qr/\s{1,256}/ above with qr/\s+/ gives output dealloans dat so it looks like the second subroutine call fails. |
From @hvds"Reel, Joseph \[FI\]" (via RT) <perlbug-followup@perl.org> wrote: Thanks for the report. This bug has been fixed in perl-5.8.0 and later I suspect that in 5.6.1 there may be a specific optimisation for If you need a specific workaround for 5.6.1, it looks as if you can Hugo |
The RT System itself - Status changed from 'new' to 'open' |
p5p@spam.wizbit.be - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#30505 (status was 'resolved')
Searchable as RT30505$
The text was updated successfully, but these errors were encountered: