in reply to Re^3: Perl6: Capturing newline in a string
in thread Perl6: Capturing newline in a string

Nice :)

Without looking yet, this is because it grabs the first ending it finds (LF, ie. the line ending at the end of the first line in the file), and uses that for all subsequent lines.

I'll have to put some thought into whether I should review the code to see if there's a sane way to handle this, or update the docs with a warning.

I can't see too many use cases out there where line endings would be mixed in a single file, but I digress.

Cheers!