method s
1 | class IO::Special |
1.1 | (IO::Special) method s |
2 | class IO::Path |
2.1 | (IO::Path) method s |
Documentation for method s
assembled from the following types:
class IO::Special
From IO::Special
(IO::Special) method s
method s(IO::Special: --> 0)
The 'size' file test operator, always returns 0
.
class IO::Path
From IO::Path
(IO::Path) method s
Defined as:
method s(--> 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 fail
with X::IO::DoesNotExist
if the path points to a non-existent filesystem entity.
say .IO.s; # OUTPUT : «467»