Jump to content

Perl Programming/Keywords/utime

From Wikibooks, open books for an open world
Previous: use Keywords Next: values

The utime keyword

[edit | edit source]

utime modifies the access and modification times on each file of a list of files, where the first two elements of the list must be first the NUMERIC access and then the modification time.

Syntax

[edit | edit source]
  utime LIST
gmtime localtime time times utime
Previous: use Keywords Next: values