Documentation for routine accessed

Documentation for routine accessed, assembled from the following types:

class IO::Path

From IO::Path

(IO::Path) method accessed

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 

class IO::Special

From IO::Special

(IO::Special) method accessed

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

The last accessed time always returns an Instant type object.