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