This may be a Perl problem, or it may be an OS large file rough-edge. Unless the underlying stat provides a 64 bit size, the best you're going to be able to do is turn $blksize and $blocks into instances of Math::BigInt, and multiply the two use this to get the approximate file size.
(On second thought: if the file can get that large, the OS stat should provide a 64-bit interface. You probably need to update your Perl.)
In reply to Re: get the size of a LARGE file
by dws
in thread get the size of a LARGE file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |