Documentation for method accessed
Documentation for method accessed, assembled from the following types:
Return an Instant object representing the timestamp when the file was last accessed. Note: depending on how the filesystem was mounted, the last accessed time may not update on each access to the file, but only on the first access after modifications.
say "path/to/file".IO.accessed; # Instant:1424353577say "path/to/file".IO.accessed.DateTime; # 2015-02-19T13:45:42Z
method accessed(IO::Special: --> Instant)
The last accessed time always returns an
Instant type object.