In IO::Special§
See primary documentation in context for method changed
method changed(IO::Special: --> Instant)
The last changed time for the filehandle. It always returns an Instant
type object.
In IO::Path§
See primary documentation in context for 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:1424089165say "path/to/file".IO.changed.DateTime; # 2015-02-16T12:18:50Z