On Tue, 03 Mar 2015 23:34:02 -0800, hmbrand wrote: > $ perl6 -e 'use v6; $*OUT.nl = "\n";' > $ perl6 -e 'use v6; $*OUT.nl = "\r\n";' > $ perl6 -e 'use v6; $*OUT.nl = "\r";' > $ perl6 -e 'use v6; $*OUT.nl = "\x[2424]";' > $ perl6 -e 'use v6; $*OUT.nl = "\x[2424]\r\n";' > $ perl6 -e 'use v6; $*OUT.nl = "";' > Invalid string index: max 4294967295, got 4294967295 > in block at src/gen/m-CORE.setting:16933 > in block <unit> at -e:1 > > $ perl6 -e 'use v6; $*OUT.nl = Str;' > Cannot unbox a type object > in block at src/gen/m-CORE.setting:16933 > in block <unit> at -e:1 > > $ > > I think I understand why undefined should not be allowed, but an empty > string should not fail >
The method for this changed to ".nl-out" after the IO refactor, and setting it to "" works fine now, and this is already tested for in S32-io/io-handle.t. Marking this ticket as resolved.