Hello. This program -- #!/usr/bin/env perl6
use v6;
my $h = open '/dev/urandom', :r;
loop (;;) {
$h.getc;
}
--
spits an error below.
--
Malformed UTF-8 string
in 'IO::getc' at line 5457:CORE.setting
in main program body at line 7:./getc.p6
--
How can I fix the problem?
Thank you.
--
Hiroki Horiuchi
