Documentation for method changed assembled from the following pages:

Class: IO::Path §

From IO::Path

(IO::Path) method changed §

Returns an Instant object indicating the metadata of the file or directory was last changed (e.g. permissions, or files created/deleted in directory). Compare with modified.

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

Class: IO::Special §

From IO::Special

(IO::Special) method changed §

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

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