-
Notifications
You must be signed in to change notification settings - Fork 1
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
Problems with record sep in Rakudo. #3550
Comments
From @cjfieldsI'm seeing a bug with the current implementation of the nl parameter for IO.open. If I parse a standard FASTA file in p5 I can set the input line separator to "\n>", which will split records quite efficiently. If I try to to the same in rakudo doing as in the following gist example: https://gist.github.com/cjfields/f2a2c274039556b1e6dc it doesn't work as expected. In the first instance it matches the beginning '>' even though there isn't a preceding new line; similarly in the others it matches the '>'. Seems likely that it is only matching the last character in the string, not the entire string; maybe an nqp issue? |
From @cjfieldsForgot to mention: [cjfields@Chriss-MacBook-Pro bioperl6]$ perl6 -v |
From @FROGGSThat is an issue in MoarVM, which I was aware about yesterday when making line separators available to open() calls. |
The RT System itself - Status changed from 'new' to 'open' |
From @cjfieldsOn Mon Oct 13 23:36:32 2014, FROGGS.de wrote:
Cool! Yeah, I kinda wondered about that, as nqp seemed to return the expected line ending when I tested it. |
From @jnthnOn Mon Oct 13 21:04:38 2014, cjfields wrote:
Up until today, MoarVM could only handle reading lines with a one single-char separator. It's now able to handle multi-char separators, and multiple of those, so the code in this ticket now works. Added a test case to S16-filehandles/io_in_while_loops.t. Thanks, /jnthn |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#122971 (status was 'resolved')
Searchable as RT122971$
The text was updated successfully, but these errors were encountered: