On 2018/11/15 9:27, sisyphus wrote:
> Are you actually encountering files larger than 1e15 bytes ?

On 32bit kernels, filesystems would not allow such large files.
For example, max size for xfs filesystem is 16TB.

Even on 64bit userspace, nobody will want to upload such large file
via network.

> If not, then either:
> 
> printf("%s\n", $sb->size);
>   or
> printf("%.15e\n", $sb->size;
>   or
> print $sb->size;
> 
> should be fine.

I see. Thank you.

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to