in reply to How can I determine the size of a file?
my $file = "some/file"; # relative path within chroot my $fsize = (stat($file))[7]; # in bytes [download]