# New Ticket Created by H. Merijn Brand # Please include the string: [perl #123978] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=123978 >
$ 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 -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.21 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
pgp3t8PDuX1dJ.pgp
Description: PGP signature