# New Ticket Created by Chris Fields # Please include the string: [perl #122971] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=122971 >
I'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?