RosettaCodeData/Task/File-size/Perl/file-size-1.pl

3 lines
57 B
Raku

my $size1 = -s 'input.txt';
my $size2 = -s '/input.txt';