RosettaCodeData/Task/Read-entire-file/Perl/read-entire-file-2.pl
2016-12-05 22:15:40 +01:00

2 lines
56 B
Raku

use Path::Tiny;
my $text = path($filename)->slurp_utf8;