Documentation for routine modified

Documentation for routine modified, assembled from the following types:

class IO::Path

From IO::Path

(IO::Path) method modified

Return an Instant object representing the timestamp when the file was last modified.

say "path/to/file".IO.modified;               #  e.g. Instant:1424089165 

To obtain a human-readable form of the timestamp, call DateTime method on the returned Instant, to convert it into a DateTime object:

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

role IO::Special

From IO::Special

(IO::Special) method modified

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

The last modified time always returns an undefined Instant.