accessed
ErrorsCollection

accessed

Synthesised documentation from type/IO/Path type/IO/Special

From type/IO/Path

See Original text in context

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:1424353577 
say "path/to/file".IO.accessed.DateTime# 2015-02-19T13:45:42Z 

From type/IO/Special

See Original text in context

method accessed(IO::Special:D: --> Instant)

The last accessed time for the filehandle. It always returns an Instant type object.