tokuhirom's blog

[perl6] how do i read binary file?

You can read a file as binary file in this form:

my $dat = slurp($filename, :bin);
Created: 2015-09-28 08:28:46 +0000
Updated: 2015-09-28 08:28:46 +0000