Documentation for method
s assembled from the following types:
method s(IO::Path: --> Int)
Returns the file size in bytes. May be called on paths that are directories, in which case the reported size is dependent on the operating system. The method will
X::IO::DoesNotExist if the path points to a non-existent filesystem entity.
say .IO.s; # OUTPUT: «467␤»
method s(IO::Special: --> 0)
The 'size' file test operator, always returns