use \x0d for carriage-return; \n is too general purpose under perl6