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.

say "path/to/file".IO.accessed;               # e.g. Instant:1424353577 

To obtain a human-readable form of the timestamp, use a DateTime object:

say"path/to/file".IO.accessed); # e.g. 2015-02-19T13:45:42Z 

or more readably:

my $access_instant = "path/to/file".IO.accessed;
my $access_time =$access_instant);
say $access_time;                             # e.g. 2015-02-19T13:45:42Z 

role IO::Special

From IO::Special

(IO::Special) method accessed

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

The last accessed time always returns an undefined Instant