method modified

Documentation for method modified assembled from the following types:

class IO::Special

From IO::Special

(IO::Special) method modified

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

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

class IO::Path

From IO::Path

(IO::Path) method modified

Returns an Instant object indicating when the content of the file was last modified. Compare with changed.

say "path/to/file".IO.modified;          # Instant:1424089165 
say "path/to/file".IO.modified.DateTime# 2015-02-16T12:18:50Z